improve startup time from >250ms to ~70ms
This commit is contained in:
@@ -1,25 +1,26 @@
|
||||
return {
|
||||
"RRethy/vim-illuminate",
|
||||
event = { "BufReadPre", "BufNewFile" },
|
||||
opts = {
|
||||
providers = {
|
||||
"lsp",
|
||||
"treesitter",
|
||||
"regex",
|
||||
},
|
||||
delay = 100,
|
||||
filetypes_denylist = {
|
||||
"help",
|
||||
"man",
|
||||
"markdown",
|
||||
"md",
|
||||
},
|
||||
under_cursor = true,
|
||||
min_count_to_highlight = 1,
|
||||
case_insensitive_regex = false,
|
||||
},
|
||||
'RRethy/vim-illuminate',
|
||||
event = { 'BufReadPre', 'BufNewFile' },
|
||||
opts = {
|
||||
providers = {
|
||||
'lsp',
|
||||
'treesitter',
|
||||
'regex',
|
||||
},
|
||||
delay = 100,
|
||||
filetypes_denylist = {
|
||||
'NvimTree',
|
||||
'help',
|
||||
'man',
|
||||
'markdown',
|
||||
'md',
|
||||
},
|
||||
under_cursor = true,
|
||||
min_count_to_highlight = 1,
|
||||
case_insensitive_regex = false,
|
||||
},
|
||||
|
||||
config = function(_, opts)
|
||||
require("illuminate").configure(opts)
|
||||
end,
|
||||
}
|
||||
config = function(_, opts)
|
||||
require('illuminate').configure(opts)
|
||||
end,
|
||||
}
|
||||
Reference in New Issue
Block a user