summaryrefslogblamecommitdiffstats
path: root/syntax/yats/web-geo.vim
blob: b3d5e85a390b900bb8db7b98207dac63c4521ef7 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                                              

        
 





                                                                                                                     
if !polyglot#util#IsEnabled('typescript', expand('<sfile>:p'))
  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