diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2015-07-19 18:57:00 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2015-07-19 18:57:00 +0200 |
commit | c925c92217920cc9963b725758f4829c219c0db7 (patch) | |
tree | a357e7c127c504ce80b47844539e4fe6840e5084 /syntax/yajs/node.vim | |
parent | 852d25b307f8ebefc8b6c7d6022257fcfae880e2 (diff) | |
download | vim-polyglot-2.1.0.tar.gz vim-polyglot-2.1.0.zip |
Better support for es6 syntaxv2.1.0
Diffstat (limited to 'syntax/yajs/node.vim')
-rw-r--r-- | syntax/yajs/node.vim | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/syntax/yajs/node.vim b/syntax/yajs/node.vim new file mode 100644 index 00000000..4d68691e --- /dev/null +++ b/syntax/yajs/node.vim @@ -0,0 +1,8 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'javascript') == -1 + +syntax keyword javascriptNodeGlobal global process console Buffer module exports setTimeout +syntax keyword javascriptNodeGlobal clearTimeout setInterval clearInterval +if exists("did_javascript_hilink") | HiLink javascriptNodeGlobal Structure +endif + +endif |