es.next.syntax.vim icon indicating copy to clipboard operation
es.next.syntax.vim copied to clipboard

Highlighting of expressions in else part of ternary operation

Open rishitank opened this issue 7 years ago • 1 comments

Hi, I'm not sure if this is intended, however the else part of a ternary conditional is highlighted. This is whether it is a function, variable or string. If I remove es.next.syntax.vim then the highlighting does not occur. I tried various color schemes and can reproduce the results. Is this highlighting intentional or some side effect of another bug? Thanks.

image

rishitank avatar Oct 06 '18 21:10 rishitank

This might be an issue caused by simple type hint. I have some idea about how to solve it. But it requires some fundamental change of yajs.vim

othree avatar Oct 07 '18 02:10 othree