nvf/modules/completion/nvim-cmp/nvim-cmp.nix

24 lines
431 B
Nix
Raw Normal View History

{
lib,
config,
...
}:
with lib;
2023-03-31 02:20:35 +00:00
with builtins; {
options.vim = {
autocomplete = {
enable = mkOption {
type = types.bool;
default = false;
description = "Enable autocomplete via nvim-cmp";
};
type = mkOption {
type = types.enum ["nvim-cmp"];
default = "nvim-cmp";
description = "Set the autocomplete plugin. Options: [nvim-cmp]";
};
};
};
}