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

Setting Illuminate_highlightUnderCursor seems to have no effect #90

Closed zeitchef closed 2 years ago

zeitchef commented 2 years ago

When setting vim.g.Illuminate_highlightUnderCursor = 0 in my config, the word under the cursor is still always underlined. However, other settings in my config are being respected.

Screen Shot 2021-12-27 at 00 43 55

RRethy commented 2 years ago

Are you using LSP functionality? Also, there is an issue template, please use it, saying X doesn't work isn't useful (especially without a minimal init.vim).

J-Fields commented 2 years ago

I was seeing this - it seemed to be caused by loading nvim-lspconfig with packer before vim-illuminate. I swapped them and it worked 🤷🏻‍♂️

RRethy commented 2 years ago

Closing this because of a lack of info from original poster.