mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-22 00:49:03 +02:00
feat(illuminate): added illuminate
This commit is contained in:
parent
79a6992676
commit
b267e33810
1 changed files with 25 additions and 0 deletions
|
@ -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",
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue