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

7 lines
303 B
VimL
Raw Normal View History

2015-07-19 12:57:00 -04:00
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'javascript') == -1
syntax keyword javascriptGlobal Math nextgroup=javascriptGlobalMathDot,javascriptFuncCallArg
syntax match javascriptGlobalMathDot /\./ contained nextgroup=javascriptMathStaticProp,javascriptMathStaticMethod
endif