neoclide/coc-highlight

Wrong parsing for vim functions

kkoomen opened this issue · 0 comments

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