Skip to content

Commit

Permalink
feat(illuminate): added illuminate
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Dec 31, 2022
1 parent 79a6992 commit b267e33
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions lua/plugins/coding.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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",
},
},
},
}

0 comments on commit b267e33

Please sign in to comment.