diff --git a/lua/plugins/illuminate.lua b/lua/plugins/illuminate.lua deleted file mode 100644 index e2c6037..0000000 --- a/lua/plugins/illuminate.lua +++ /dev/null @@ -1 +0,0 @@ -return { "RRethy/vim-illuminate" } diff --git a/lua/plugins/local-highlight.lua b/lua/plugins/local-highlight.lua new file mode 100644 index 0000000..63140b1 --- /dev/null +++ b/lua/plugins/local-highlight.lua @@ -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, +}