mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-16 04:04:34 +02:00
plugins/completion: move to by-name
- Move nvim-cmp to plugins/cmp - Move other completion plugins to plugins/by-name
This commit is contained in:
parent
3211a63306
commit
ad85cd760e
36 changed files with 2 additions and 9 deletions
32
tests/test-sources/plugins/by-name/lspkind/default.nix
Normal file
32
tests/test-sources/plugins/by-name/lspkind/default.nix
Normal file
|
@ -0,0 +1,32 @@
|
|||
{
|
||||
empty = {
|
||||
plugins.lspkind.enable = true;
|
||||
};
|
||||
|
||||
example = {
|
||||
plugins = {
|
||||
lsp = {
|
||||
enable = true;
|
||||
servers.clangd.enable = true;
|
||||
};
|
||||
cmp.enable = true;
|
||||
lspkind.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
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