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.16k stars 47 forks source link

Is there a way not use this plugin highlight word in fold? #54

Closed v6cc closed 3 years ago

v6cc commented 3 years ago

sometimes it highlight many fold really annoy

1

after I press j:

2

I hope not use this plugin highlight word in fold or not highlight when cursor on a fold

RRethy commented 3 years ago

What version of Neovim are you using? This is a bug in Neovim that is being investigated, see #52 and https://github.com/neovim/neovim/issues/12982. There is nothing that can be changed in vim-illuminate, closing this issue since #52 is tracking this already.

RRethy commented 3 years ago

Dup of #52.

v6cc commented 3 years ago

What version of Neovim are you using? This is a bug in Neovim that is being investigated, see #52 and neovim/neovim#12982. There is nothing that can be changed in vim-illuminate, closing this issue since #52 is tracking this already.

NVIM v0.5.0-856-g7dfeadb0f

RRethy commented 3 years ago

Yup that version has the bug. You can try downgrading your neovim version, nvim-0.5.0-840ish from brew install --head neovim doesn't have it.