ajs-nvim/lua/plugins/local-highlight.lua

17 lines
450 B
Lua
Raw Normal View History

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,
}