mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-30 04:14:28 +02:00
plugins/illuminate: init + test (#472)
* plugins/vim-illuminate: init + test * Fixed issue with empty test * Apply suggestions from code review Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com> * Renamed from vilm-illuminate to illuminate * Update plugins/utils/illuminate.nix Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com> --------- Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>
This commit is contained in:
parent
89d0b05c9d
commit
d933b78dc8
3 changed files with 179 additions and 0 deletions
34
tests/test-sources/plugins/utils/illuminate.nix
Normal file
34
tests/test-sources/plugins/utils/illuminate.nix
Normal file
|
@ -0,0 +1,34 @@
|
|||
{
|
||||
empty = {
|
||||
plugins.illuminate.enable = true;
|
||||
};
|
||||
|
||||
example = {
|
||||
plugins.illuminate = {
|
||||
enable = true;
|
||||
|
||||
delay = 50;
|
||||
providers = ["lsp"];
|
||||
modesDenylist = ["n"];
|
||||
modesAllowlist = ["v"];
|
||||
underCursor = false;
|
||||
largeFileCutoff = 10;
|
||||
minCountToHighlight = 2;
|
||||
filetypesDenylist = ["csharp"];
|
||||
filetypesAllowlist = ["python"];
|
||||
filetypeOverrides = [
|
||||
{
|
||||
filetype = "c";
|
||||
overrides = {
|
||||
delay = 10;
|
||||
providers = ["treesitter"];
|
||||
};
|
||||
}
|
||||
];
|
||||
largeFileOverrides = {
|
||||
delay = 20;
|
||||
underCursor = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue