2023-01-09 20:22:53 +00:00
|
|
|
local M = {}
|
|
|
|
|
|
|
|
function M.config()
|
|
|
|
local present, illuminate = pcall(require, 'illuminate')
|
|
|
|
if not present then
|
|
|
|
return
|
|
|
|
end
|
|
|
|
|
2023-01-10 18:21:09 +00:00
|
|
|
illuminate.configure({
|
|
|
|
providers = {
|
|
|
|
'lsp',
|
|
|
|
'treesitter',
|
|
|
|
'regex',
|
|
|
|
},
|
|
|
|
delay = 200,
|
|
|
|
filetypes_denylist = {
|
|
|
|
'alpha',
|
|
|
|
'NvimTree',
|
|
|
|
'TelescopePrompt',
|
|
|
|
},
|
|
|
|
})
|
2023-01-09 20:22:53 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
return M
|