26 lines
415 B
Lua
26 lines
415 B
Lua
|
local M = {}
|
||
|
|
||
|
function M.config()
|
||
|
local present, illuminate = pcall(require, 'illuminate')
|
||
|
if not present then
|
||
|
return
|
||
|
end
|
||
|
|
||
|
illuminate.configure({
|
||
|
providers = {
|
||
|
'lsp',
|
||
|
'treesitter',
|
||
|
'regex',
|
||
|
},
|
||
|
delay = 200,
|
||
|
filetypes_denylist = {
|
||
|
'alpha',
|
||
|
'NvimTree',
|
||
|
'TelescopePrompt',
|
||
|
},
|
||
|
})
|
||
|
end
|
||
|
|
||
|
return M
|
||
|
|