1
0
Fork 0
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:
Ulises Britos 2025-11-04 18:21:39 -03:00 committed by Matt Sturgeon
parent aa3a1dfb02
commit 9c2c9a1b35
2 changed files with 3 additions and 9 deletions

View file

@ -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";
};

View file

@ -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;
};
};
};
}