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

Question: How would I set up LSP highlighting with Coc? #79

Closed dseeni closed 3 years ago

dseeni commented 3 years ago

Hey @RRethy

Is it possible to set up vim-illuminate to work with Coc for LSP highlighting?

Would you know how to do that by any chance?

RRethy commented 3 years ago

It would require a non-trivial amount of code to be added to use coc's API which would also be in js. This isn't something I would add or even want someone else to add (since maintaining it would be annoying). You can however try https://github.com/neoclide/coc-highlight which does jus that.