othree / yajs.vim

YAJS.vim: Yet Another JavaScript Syntax for Vim
http://www.vim.org/scripts/script.php?script_id=4974
Vim License
688 stars 41 forks source link

Incorrect keyword highlight in nested functions #114

Closed snahor closed 8 years ago

snahor commented 8 years ago

screenshot from 2016-01-29 19 16 05

This also happens with let and var.

Ubuntu + vim/neovim

othree commented 8 years ago

You need es.next.syntax.vim. async is not part of ES6, so not in yajs now.

mnylen commented 8 years ago

This happens with regular ES6 too.

screen shot 2016-02-02 at 08 14 01
othree commented 8 years ago

@mnylen Please provide code snippets for reproduce the issue. And I think you can open a new one :)

Thanks~