mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-12 13:33:49 -05:00
Switch typescript provider, closes #428
This commit is contained in:
10
syntax/yats/web-network.vim
Normal file
10
syntax/yats/web-network.vim
Normal file
@@ -0,0 +1,10 @@
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'typescript') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
syntax keyword typescriptGlobal containedin=typescriptIdentifierName NetworkInformation
|
||||
syntax keyword typescriptBOMNetworkProp contained downlink downlinkMax effectiveType
|
||||
syntax keyword typescriptBOMNetworkProp contained rtt type
|
||||
syntax cluster props add=typescriptBOMNetworkProp
|
||||
if exists("did_typescript_hilink") | HiLink typescriptBOMNetworkProp Keyword
|
||||
endif
|
||||
Reference in New Issue
Block a user