1
0
Fork 0

neovim: Configure illuminate

This commit is contained in:
Jeremy Kaplan 2025-08-11 11:12:47 -04:00
commit 8ee3b57e3a
3 changed files with 20 additions and 1 deletions

View file

@ -64,8 +64,17 @@ return {
},
{
"RRethy/vim-illuminate",
init = function()
local illuminate = require('illuminate')
illuminate.configure({
delay = 500,
})
end,
keys = {
{ "<leader>i", ":IlluminateToggle<cr>" },
{ "<leader>ii", function() require('illuminate').toggle_buf() end },
{ "<leader>in", function() require('illuminate').goto_next_reference() end },
{ "<leader>ip", function() require('illuminate').goto_prev_reference() end },
{ "<leader>if", function() require('illuminate').toggle_freeze_buf() end },
},
},
{