25 lines
324 B
Lua
25 lines
324 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
|