othree/yajs.vim

async/await not highlight

Closed this issue · 3 comments

for async/await method in class, it works.
but for functions, it doesn't
image

Hi, this is what I see:

2017-12-15 11 32 33

I will need code snippets to reproduce your issue.

Not highlighted:

foo()
(async () => ...)

Highlighted:

foo();
(async () => ...)

Not highlighted:

var spam = async function () {
}

maybe some other plugin has conflict with this. After I delete all other plugins, this works good. Maybe I should try to find which plugin conflict with this. Thanks for your quick response and hard work.