Better support for es6 syntax

This commit is contained in:
Adam Stankiewicz
2015-07-19 18:57:00 +02:00
parent 852d25b307
commit c925c92217
29 changed files with 552 additions and 315 deletions

6
syntax/yajs/es6-json.vim Normal file
View File

@@ -0,0 +1,6 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'javascript') == -1
syntax keyword javascriptGlobal JSON nextgroup=javascriptGlobalJSONDot,javascriptFuncCallArg
syntax match javascriptGlobalJSONDot /\./ contained nextgroup=javascriptJSONStaticMethod
endif