uninstall illuminate in favor of local highlight, for better performance

This commit is contained in:
Andrzej Stepien 2024-03-14 13:54:38 +01:00
parent 39a615ac01
commit eb59ad7abc
2 changed files with 16 additions and 1 deletions

View File

@ -1 +0,0 @@
return { "RRethy/vim-illuminate" }

View File

@ -0,0 +1,16 @@
return {
"tzachar/local-highlight.nvim",
config = function()
require("local-highlight").setup({
-- file_types = { "python", "cpp" }, -- If this is given only attach to this
-- OR attach to every filetype except:
disable_file_types = { "tex" },
--hlgroup = "Search",
cw_hlgroup = nil,
-- Whether to display highlights in INSERT mode or not
insert_mode = false,
min_match_len = 1,
max_match_len = math.huge,
})
end,
}