mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-30 12:24:28 +02:00
plugins/lspkind: refactoring + tests (#259)
This commit is contained in:
parent
86f4067159
commit
e33e62ff61
2 changed files with 53 additions and 45 deletions
23
tests/plugins/lspkind.nix
Normal file
23
tests/plugins/lspkind.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
# Empty configuration
|
||||
empty = {
|
||||
plugins.lspkind.enable = true;
|
||||
};
|
||||
|
||||
# All the upstream default options of lspkind
|
||||
defaults = {
|
||||
plugins.lspkind = {
|
||||
enable = true;
|
||||
mode = "symbol_text";
|
||||
preset = "codicons";
|
||||
symbolMap = null;
|
||||
cmp = {
|
||||
enable = true;
|
||||
maxWidth = 50;
|
||||
ellipsisChar = "...";
|
||||
menu = null;
|
||||
after = null;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue