From f71e13b4cf0519d3c28fabd2d70e2e7758d3d47d Mon Sep 17 00:00:00 2001 From: Charles Danesi Date: Mon, 18 Nov 2024 09:13:26 -0500 Subject: [PATCH] add word highlighting --- .config/nvim/lua/plugins/illuminate.lua | 30 +++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .config/nvim/lua/plugins/illuminate.lua diff --git a/.config/nvim/lua/plugins/illuminate.lua b/.config/nvim/lua/plugins/illuminate.lua new file mode 100644 index 0000000..36dd19a --- /dev/null +++ b/.config/nvim/lua/plugins/illuminate.lua @@ -0,0 +1,30 @@ +return { + "RRethy/vim-illuminate", + lazy = true, + opts = { + providers = { + "lsp", + "treesitter", + "regex", + }, + delay = 200, + filetypes_denylist = { + "dashboard", + "alpha", + "NvimTree", + "help", + "markdown", + "md", + "dirbuf", + "dirvish", + "fugitive", + }, + under_cursor = true, + min_count_to_highlight = 1, + case_insensitive_regex = false, + }, + + config = function(_, opts) + require("illuminate").configure(opts) + end, +}