nix-community.nixvim/tests/test-sources/plugins/utils/illuminate.nix
Antonín Říha d933b78dc8
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>
2023-07-05 14:42:12 +02:00

34 lines
672 B
Nix

{
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;
};
};
};
}