Closed tkmct closed 6 years ago
Can you provide full code snippets can show this issue
Maybe the void
cause these issue, can you change void to other word(non reserved word) to test?
@othree Hi, thanks for the comment. I tried both void and others like this. When trying other than void as type, for example string, that type keywords showed properly but inside the method, keywords are still highlighted as error. But strangely, the keywords inside nested scope, it highlighted properly like return shown inside if statement in this code.
Sorry, I forgot about this issue.
I mean, change the first method's void
.
I think, After the first void
. The definition is broken.
Hi, I'm using yajs and es.next.syntax.vim together. I'm using flowtype but keywords like const, if, return, etc are highlighted as errors in typed method body. And also some flow keywords like implements, void, boolean are highlighted as errors.
Are there any workaround for this?