Files
vim-polyglot/syntax/yats/web-history.vim
2021-01-01 22:30:41 +01:00

14 lines
657 B
VimL

if polyglot#init#is_disabled(expand('<sfile>:p'), 'typescript', 'syntax/yats/web-history.vim')
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