diff options
Diffstat (limited to '')
-rw-r--r-- | syntax/yats/web-geo.vim | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/syntax/yats/web-geo.vim b/syntax/yats/web-geo.vim new file mode 100644 index 00000000..6dd53a54 --- /dev/null +++ b/syntax/yats/web-geo.vim @@ -0,0 +1,10 @@ +if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'typescript') != -1 + 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 |