mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-13 22:13:50 -05:00
13 lines
784 B
VimL
13 lines
784 B
VimL
if polyglot#init#is_disabled(expand('<sfile>:p'), 'typescript', 'syntax/yats/web-console.vim')
|
|
finish
|
|
endif
|
|
|
|
syntax keyword typescriptGlobal containedin=typescriptIdentifierName console nextgroup=typescriptGlobalConsoleDot
|
|
syntax match typescriptGlobalConsoleDot /\./ contained nextgroup=typescriptConsoleMethod,typescriptProp
|
|
syntax keyword typescriptConsoleMethod contained count dir error group groupCollapsed nextgroup=typescriptFuncCallArg
|
|
syntax keyword typescriptConsoleMethod contained groupEnd info log time timeEnd trace nextgroup=typescriptFuncCallArg
|
|
syntax keyword typescriptConsoleMethod contained warn nextgroup=typescriptFuncCallArg
|
|
syntax cluster props add=typescriptConsoleMethod
|
|
if exists("did_typescript_hilink") | HiLink typescriptConsoleMethod Keyword
|
|
endif
|