improve startup time from >250ms to ~70ms

This commit is contained in:
2024-11-22 13:43:37 -05:00
parent 19474801dd
commit 9e03718a80
20 changed files with 667 additions and 588 deletions
+24 -23
View File
@@ -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,
}