summaryrefslogtreecommitdiffstats
path: root/syntax/yats/web-history.vim
blob: 6301a7c9d75858678777575a440da52eb3b494b6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
if !has_key(g:polyglot_is_disabled, 'typescript')
  finish
endif

syntax keyword typescriptBOMHistoryProp contained length current next previous state
syntax keyword typescriptBOMHistoryProp contained scrollRestoration
syntax cluster props add=typescriptBOMHistoryProp
if exists("did_typescript_hilink") | HiLink typescriptBOMHistoryProp Keyword
endif
syntax keyword typescriptBOMHistoryMethod contained back forward go pushState replaceState nextgroup=typescriptFuncCallArg
syntax cluster props add=typescriptBOMHistoryMethod
if exists("did_typescript_hilink") | HiLink typescriptBOMHistoryMethod Keyword
endif