mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-10 20:43:52 -05:00
Switch typescript provider, closes #428
This commit is contained in:
9
syntax/yats/es6-function.vim
Normal file
9
syntax/yats/es6-function.vim
Normal file
@@ -0,0 +1,9 @@
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'typescript') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
syntax keyword typescriptGlobal containedin=typescriptIdentifierName Function
|
||||
syntax keyword typescriptFunctionMethod contained apply bind call nextgroup=typescriptFuncCallArg
|
||||
syntax cluster props add=typescriptFunctionMethod
|
||||
if exists("did_typescript_hilink") | HiLink typescriptFunctionMethod Keyword
|
||||
endif
|
||||
Reference in New Issue
Block a user