nvim-config/lua/configs/illuminate.lua

26 lines
415 B
Lua
Raw Normal View History

2022-12-05 00:25:03 +00:00
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