RRethy / vim-illuminate

illuminate.vim - (Neo)Vim plugin for automatically highlighting other uses of the word under the cursor using either LSP, Tree-sitter, or regex matching.
2.14k stars 47 forks source link

next_reference without lsp #88

Closed RaZ0rr-Two closed 1 year ago

RaZ0rr-Two commented 2 years ago

Describe the bug This is not a bug but a question.

Is it possible to use lua require"illuminate".next_reference{wrap=true} on buffers without lsp active? I can see that highlighting works with/without lsp. So, for these can we jump through these highlights?

RRethy commented 2 years ago

No, this is specific to LSP functionality.

Massolari commented 2 years ago

I want this too! Maybe there is a solution. Can't we use the search function?