mirror of
https://github.com/nix-community/nixvim.git
synced 2025-11-08 19:46:06 +01:00
plugins/lspkind: default cmp.enable option to plugins.cmp.enable
This commit is contained in:
parent
aa3a1dfb02
commit
9c2c9a1b35
2 changed files with 3 additions and 9 deletions
|
|
@ -23,7 +23,8 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
cmp = {
|
||||
enable = lib.mkOption {
|
||||
type = types.bool;
|
||||
default = true;
|
||||
default = config.plugins.cmp.enable;
|
||||
defaultText = lib.literalExpression "config.plugins.cmp.enable";
|
||||
description = "Integrate with nvim-cmp";
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -1,9 +1,6 @@
|
|||
{
|
||||
empty = {
|
||||
plugins.lspkind = {
|
||||
enable = true;
|
||||
cmp.enable = false;
|
||||
};
|
||||
plugins.lspkind.enable = true;
|
||||
};
|
||||
|
||||
example = {
|
||||
|
|
@ -25,10 +22,6 @@
|
|||
preset = "codicons";
|
||||
symbol_map = null;
|
||||
};
|
||||
cmp = {
|
||||
enable = false;
|
||||
after = null;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue