From c925c92217920cc9963b725758f4829c219c0db7 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Sun, 19 Jul 2015 18:57:00 +0200 Subject: Better support for es6 syntax --- syntax/yajs/es6-function.vim | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 syntax/yajs/es6-function.vim (limited to 'syntax/yajs/es6-function.vim') diff --git a/syntax/yajs/es6-function.vim b/syntax/yajs/es6-function.vim new file mode 100644 index 00000000..d0a54d2f --- /dev/null +++ b/syntax/yajs/es6-function.vim @@ -0,0 +1,5 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'javascript') == -1 + +syntax keyword javascriptGlobal Function + +endif -- cgit v1.2.3