nvf/modules/completion/nvim-cmp/nvim-cmp.nix
2023-03-31 05:20:35 +03:00

24 lines
418 B
Nix

{
lib,
config,
...
}:
with lib;
with builtins; {
options.vim = {
autocomplete = {
enable = mkOption {
type = types.bool;
default = false;
description = "enable autocomplete";
};
type = mkOption {
type = types.enum ["nvim-cmp"];
default = "nvim-cmp";
description = "Set the autocomplete plugin. Options: [nvim-cmp]";
};
};
};
}