nvim-config/lua/configs/illuminate.lua
2023-01-10 10:21:09 -08:00

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