From d8243968a167c54d648d80bd92a63f475daf9ed3 Mon Sep 17 00:00:00 2001 From: Jan Eitzinger Date: Fri, 26 Jan 2024 09:00:48 +0100 Subject: [PATCH] change highlite for vim-illuminate --- dot_config/nvim/lua/plugins/ui.lua | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/dot_config/nvim/lua/plugins/ui.lua b/dot_config/nvim/lua/plugins/ui.lua index e0bd4ac..b40264b 100644 --- a/dot_config/nvim/lua/plugins/ui.lua +++ b/dot_config/nvim/lua/plugins/ui.lua @@ -7,6 +7,15 @@ return { opts.sections.lualine_b = { { "branch", icon = " " } } end, }, + { + "RRethy/vim-illuminate", + config = function() + -- change the highlight style + vim.api.nvim_set_hl(0, "IlluminatedWordText", { link = "Visual" }) + vim.api.nvim_set_hl(0, "IlluminatedWordRead", { link = "Visual" }) + vim.api.nvim_set_hl(0, "IlluminatedWordWrite", { link = "Visual" }) + end, + }, { "NvChad/nvim-colorizer.lua", opts = function(_, opts)