mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 16:39:00 +02:00
* 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>
34 lines
672 B
Nix
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;
|
|
};
|
|
};
|
|
};
|
|
}
|