plugins/lspkind: refactoring + tests (#259)

This commit is contained in:
Gaétan Lepage 2023-03-15 12:06:11 +01:00 committed by GitHub
parent 86f4067159
commit e33e62ff61
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 53 additions and 45 deletions

23
tests/plugins/lspkind.nix Normal file
View 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;
};
};
};
}