nix-config/rsc/config/nvim/configs/illuminate.lua

35 lines
599 B
Lua
Raw Normal View History

2023-11-04 14:57:21 +01:00
local status, illuminate = pcall(require, "illuminate")
if not status then
return
end
illuminate.configure {
-- providers: provider used to get references in the buffer, ordered by priority
providers = {
"lsp",
"treesitter",
"regex",
},
delay = 100,
filetypes_denylist = {
"dirvish",
"fugitive",
"alpha",
"NvimTree",
"packer",
"neogitstatus",
"Trouble",
"lir",
"Outline",
"spectre_panel",
"toggleterm",
"DressingSelect",
"TelescopePrompt",
"aerial",
"Empty",
},
under_cursor = true,
max_file_lines = nil,
}