blob: 1e651787c4507334495cdd8a55a71d59b155476a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
if has_key(g:polyglot_is_disabled, 'typescript')
finish
endif
syntax keyword typescriptGlobal containedin=typescriptIdentifierName Geolocation
syntax keyword typescriptGeolocationMethod contained getCurrentPosition watchPosition nextgroup=typescriptFuncCallArg
syntax keyword typescriptGeolocationMethod contained clearWatch nextgroup=typescriptFuncCallArg
syntax cluster props add=typescriptGeolocationMethod
if exists("did_typescript_hilink") | HiLink typescriptGeolocationMethod Keyword
endif
|