You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
618 B
VimL
10 lines
618 B
VimL
syntax keyword javascriptGlobal Promise nextgroup=javascriptGlobalPromiseDot,javascriptFuncCallArg
|
|
syntax match javascriptGlobalPromiseDot /\./ contained nextgroup=javascriptPromiseStaticMethod
|
|
syntax keyword javascriptPromiseStaticMethod contained resolve reject all race nextgroup=javascriptFuncCallArg
|
|
if exists("did_javascript_hilink") | HiLink javascriptPromiseStaticMethod Keyword
|
|
endif
|
|
syntax keyword javascriptPromiseMethod contained then catch nextgroup=javascriptFuncCallArg
|
|
syntax cluster props add=javascriptPromiseMethod
|
|
if exists("did_javascript_hilink") | HiLink javascriptPromiseMethod Keyword
|
|
endif
|