mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-14 06:23:50 -05:00
Switch typescript provider, closes #428
This commit is contained in:
13
syntax/yats/dom-form.vim
Normal file
13
syntax/yats/dom-form.vim
Normal file
@@ -0,0 +1,13 @@
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'typescript') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
syntax keyword typescriptDOMFormProp contained acceptCharset action elements encoding
|
||||
syntax keyword typescriptDOMFormProp contained enctype length method name target
|
||||
syntax cluster props add=typescriptDOMFormProp
|
||||
if exists("did_typescript_hilink") | HiLink typescriptDOMFormProp Keyword
|
||||
endif
|
||||
syntax keyword typescriptDOMFormMethod contained reportValidity reset submit nextgroup=typescriptFuncCallArg
|
||||
syntax cluster props add=typescriptDOMFormMethod
|
||||
if exists("did_typescript_hilink") | HiLink typescriptDOMFormMethod Keyword
|
||||
endif
|
||||
Reference in New Issue
Block a user