mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-15 11:44:32 +02:00
lspkind: add menu
This commit is contained in:
parent
4cb8fc4feb
commit
226c62dc9e
1 changed files with 7 additions and 0 deletions
|
@ -42,6 +42,12 @@ in
|
||||||
default = null;
|
default = null;
|
||||||
description = "Character to show when the popup exceeds maxwidth";
|
description = "Character to show when the popup exceeds maxwidth";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
menu = mkOption {
|
||||||
|
type = with types; nullOr (attrsOf str);
|
||||||
|
default = null;
|
||||||
|
description = "Show source names in the popup";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -55,6 +61,7 @@ in
|
||||||
} // (if doCmp then {
|
} // (if doCmp then {
|
||||||
maxwidth = cfg.cmp.maxWidth;
|
maxwidth = cfg.cmp.maxWidth;
|
||||||
ellipsis_char = cfg.cmp.ellipsisChar;
|
ellipsis_char = cfg.cmp.ellipsisChar;
|
||||||
|
menu = cfg.cmp.menu;
|
||||||
} else { });
|
} else { });
|
||||||
in
|
in
|
||||||
mkIf cfg.enable {
|
mkIf cfg.enable {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue