summaryrefslogblamecommitdiffstats
path: root/syntax/yats/es6-json.vim
blob: 0d3bec6ad15eac417cdf08e4852883e9dd38f8a5 (plain) (tree)
1
2
3
4
5
6
7
                                                                                   




                                                                                                                                 
     
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1
syntax keyword typescriptGlobal containedin=typescriptIdentifierName JSON nextgroup=typescriptGlobalJSONDot,typescriptFuncCallArg
syntax match   typescriptGlobalJSONDot /\./ contained nextgroup=typescriptJSONStaticMethod,typescriptProp
syntax keyword typescriptJSONStaticMethod contained parse stringify nextgroup=typescriptFuncCallArg
if exists("did_typescript_hilink") | HiLink typescriptJSONStaticMethod Keyword
endif
endif