feat(illuminate): added illuminate

This commit is contained in:
Folke Lemaitre 2022-12-31 17:03:56 +01:00
parent 79a6992676
commit b267e33810
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040

View file

@ -96,4 +96,29 @@ return {
})
end,
},
-- references
{
"RRethy/vim-illuminate",
event = "BufReadPost",
config = function()
require("illuminate").configure({ delay = 200 })
end,
keys = {
{
"]]",
function()
require("illuminate").goto_next_reference(false)
end,
desc = "Next Reference",
},
{
"[[",
function()
require("illuminate").goto_prev_reference(false)
end,
desc = "Prev Reference",
},
},
},
}