vim-polyglot/syntax/yajs/es6-json.vim

7 lines
278 B
VimL
Raw Normal View History

2015-07-19 18:57:00 +02:00
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