neoclide / coc-highlight

Document highlight and document colors LSP support for coc.nvim
226 stars 12 forks source link

No highlight on vim files #38

Closed mosheavni closed 4 years ago

mosheavni commented 4 years ago

When coc-vimlsp is installed, there's no highlighting of symbols in any way. Only by removing this extension, or setting a different filetype (:setf text), it highlights symbols. How can I fix it? Thanks.

chemzqm commented 4 years ago

Send your feature request to coc-vimlsp since this module have lower priority.

chemzqm commented 4 years ago

Should be problem of your language server, checkout https://github.com/neoclide/coc.nvim/wiki/Debug-language-server#using-output-channel

mosheavni commented 4 years ago

@chemzqm According to this: https://github.com/neoclide/coc-highlight/blob/master/Readme.md#features This plugin should highlight when no color provider exists from language server, so what does it have to do with coc-vimlsp?

chemzqm commented 4 years ago

coc-vimlsp provide document highlight which have higher priority

mosheavni commented 4 years ago

@chemzqm good point. does coc-highlight provides an option to change its priority over the lang server's highlight?

chemzqm commented 4 years ago

No, your language server should understand your code better than coc-highlight.

chemzqm commented 3 years ago

checkout https://github.com/neoclide/coc.nvim/wiki/Debug-language-server#using-output-channel