mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-05 04:51:14 +00:00
24 lines
431 B
Nix
24 lines
431 B
Nix
{
|
|
lib,
|
|
config,
|
|
...
|
|
}:
|
|
with lib;
|
|
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]";
|
|
};
|
|
};
|
|
};
|
|
}
|