neoclide / coc-highlight

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

Wrong parsing for vim functions #17

Closed kkoomen closed 5 years ago

kkoomen commented 5 years ago

I've a vim function which is test#indent#add (I particularly used this as: function('test#indent#add', [])) and here #add gets recognized as a color, which makes sense, but I do think the regex patterns should have use look-around to check if there are no alpha-characters before the #. I still want color highlighting in Vim Script, so I don't want to exclude it.

Screenshot 2019-08-02 at 08 40 15