nix-community.nixvim/tests/test-sources/plugins/utils/illuminate.nix

35 lines
672 B
Nix
Raw Permalink Normal View History

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