mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-10 09:14:31 +02:00
plugins/navic: init + tests (#597)
Co-authored-by: Haseeb Majid <haseeb.majid@imaginecurve.com> Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>
This commit is contained in:
parent
ada99e5763
commit
32a64af231
3 changed files with 171 additions and 0 deletions
49
tests/test-sources/plugins/bufferlines/navic.nix
Normal file
49
tests/test-sources/plugins/bufferlines/navic.nix
Normal file
|
@ -0,0 +1,49 @@
|
|||
{
|
||||
empty = {
|
||||
plugins.navic.enable = true;
|
||||
};
|
||||
|
||||
defaults = {
|
||||
plugins.navic = {
|
||||
enable = true;
|
||||
|
||||
icons = {
|
||||
File = " ";
|
||||
Module = " ";
|
||||
Namespace = " ";
|
||||
Package = " ";
|
||||
Class = " ";
|
||||
Method = " ";
|
||||
Property = " ";
|
||||
Field = " ";
|
||||
Constructor = " ";
|
||||
Enum = "";
|
||||
Interface = "";
|
||||
Function = " ";
|
||||
Variable = " ";
|
||||
Constant = " ";
|
||||
String = " ";
|
||||
Number = " ";
|
||||
Boolean = "◩ ";
|
||||
Array = " ";
|
||||
Object = " ";
|
||||
Key = " ";
|
||||
Null = " ";
|
||||
EnumMember = " ";
|
||||
Struct = " ";
|
||||
Event = " ";
|
||||
Operator = " ";
|
||||
TypeParameter = " ";
|
||||
};
|
||||
lsp = {
|
||||
autoAttach = true;
|
||||
preference = ["clangd" "pyright"];
|
||||
};
|
||||
highlight = true;
|
||||
separator = " | ";
|
||||
depthLimit = 10;
|
||||
safeOutput = false;
|
||||
click = true;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue