annotate runtime/syntax/typescriptcommon.vim @ 29269:0fdf36de4018

Update runtime files Commit: https://github.com/vim/vim/commit/8cc5b559f70041361612b8a6a87922503b33baa6 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jun 23 13:04:20 2022 +0100 Update runtime files
author Bram Moolenaar <Bram@vim.org>
date Thu, 23 Jun 2022 14:15:04 +0200
parents 9c221ad9634a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
18639
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1 " Vim syntax file
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2 " Language: TypeScript and TypeScriptReact
18750
82a28df1e2d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 18639
diff changeset
3 " Maintainer: Bram Moolenaar, Herrington Darkholme
25880
9c221ad9634a Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 22824
diff changeset
4 " Last Change: 2021 Sep 22
18639
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
5 " Based On: Herrington Darkholme's yats.vim
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
6 " Changes: See https:github.com/HerringtonDarkholme/yats.vim
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
7 " Credits: See yats.vim on github
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
8
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
9 if &cpo =~ 'C'
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
10 let s:cpo_save = &cpo
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
11 set cpo&vim
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
12 endif
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
13
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
14
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
15 " NOTE: this results in accurate highlighting, but can be slow.
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
16 syntax sync fromstart
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
17
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
18 "Dollar sign is permitted anywhere in an identifier
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
19 setlocal iskeyword-=$
18750
82a28df1e2d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 18639
diff changeset
20 if main_syntax == 'typescript' || main_syntax == 'typescriptreact'
18639
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
21 setlocal iskeyword+=$
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
22 " syntax cluster htmlJavaScript contains=TOP
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
23 endif
22824
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
24 " For private field added from TypeScript 3.8
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
25 setlocal iskeyword+=#
18639
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
26
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
27 " lowest priority on least used feature
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
28 syntax match typescriptLabel /[a-zA-Z_$]\k*:/he=e-1 contains=typescriptReserved nextgroup=@typescriptStatement skipwhite skipempty
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
29
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
30 " other keywords like return,case,yield uses containedin
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
31 syntax region typescriptBlock matchgroup=typescriptBraces start=/{/ end=/}/ contains=@typescriptStatement,@typescriptComments fold
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
32 syntax cluster afterIdentifier contains=
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
33 \ typescriptDotNotation,
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
34 \ typescriptFuncCallArg,
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
35 \ typescriptTemplate,
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
36 \ typescriptIndexExpr,
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
37 \ @typescriptSymbols,
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
38 \ typescriptTypeArguments
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
39
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
40 syntax match typescriptIdentifierName /\<\K\k*/
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
41 \ nextgroup=@afterIdentifier
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
42 \ transparent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
43 \ contains=@_semantic
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
44 \ skipnl skipwhite
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
45
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
46 syntax match typescriptProp contained /\K\k*!\?/
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
47 \ transparent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
48 \ contains=@props
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
49 \ nextgroup=@afterIdentifier
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
50 \ skipwhite skipempty
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
51
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
52 syntax region typescriptIndexExpr contained matchgroup=typescriptProperty start=/\[/rs=s+1 end=/]/he=e-1 contains=@typescriptValue nextgroup=@typescriptSymbols,typescriptDotNotation,typescriptFuncCallArg skipwhite skipempty
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
53
18750
82a28df1e2d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 18639
diff changeset
54 syntax match typescriptDotNotation /\.\|?\.\|!\./ nextgroup=typescriptProp skipnl
18639
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
55 syntax match typescriptDotStyleNotation /\.style\./ nextgroup=typescriptDOMStyle transparent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
56 " syntax match typescriptFuncCall contained /[a-zA-Z]\k*\ze(/ nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
57 syntax region typescriptParenExp matchgroup=typescriptParens start=/(/ end=/)/ contains=@typescriptComments,@typescriptValue,typescriptCastKeyword nextgroup=@typescriptSymbols skipwhite skipempty
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
58 syntax region typescriptFuncCallArg contained matchgroup=typescriptParens start=/(/ end=/)/ contains=@typescriptValue,@typescriptComments nextgroup=@typescriptSymbols,typescriptDotNotation skipwhite skipempty skipnl
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
59 syntax region typescriptEventFuncCallArg contained matchgroup=typescriptParens start=/(/ end=/)/ contains=@typescriptEventExpression
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
60 syntax region typescriptEventString contained start=/\z(["']\)/ skip=/\\\\\|\\\z1\|\\\n/ end=/\z1\|$/ contains=typescriptASCII,@events
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
61
22824
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
62 syntax region typescriptDestructureString
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
63 \ start=/\z(["']\)/ skip=/\\\\\|\\\z1\|\\\n/ end=/\z1\|$/
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
64 \ contains=typescriptASCII
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
65 \ nextgroup=typescriptDestructureAs
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
66 \ contained skipwhite skipempty
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
67
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
68 syntax cluster typescriptVariableDeclarations
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
69 \ contains=typescriptVariableDeclaration,@typescriptDestructures
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
70
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
71 syntax match typescriptVariableDeclaration /[A-Za-z_$]\k*/
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
72 \ nextgroup=typescriptTypeAnnotation,typescriptAssign
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
73 \ contained skipwhite skipempty
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
74
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
75 syntax cluster typescriptDestructureVariables contains=
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
76 \ typescriptRestOrSpread,
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
77 \ typescriptDestructureComma,
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
78 \ typescriptDestructureLabel,
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
79 \ typescriptDestructureVariable,
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
80 \ @typescriptDestructures
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
81
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
82 syntax match typescriptDestructureVariable /[A-Za-z_$]\k*/ contained
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
83 \ nextgroup=typescriptDefaultParam
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
84 \ contained skipwhite skipempty
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
85
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
86 syntax match typescriptDestructureLabel /[A-Za-z_$]\k*\ze\_s*:/
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
87 \ nextgroup=typescriptDestructureAs
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
88 \ contained skipwhite skipempty
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
89
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
90 syntax match typescriptDestructureAs /:/
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
91 \ nextgroup=typescriptDestructureVariable,@typescriptDestructures
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
92 \ contained skipwhite skipempty
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
93
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
94 syntax match typescriptDestructureComma /,/ contained
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
95
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
96 syntax cluster typescriptDestructures contains=
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
97 \ typescriptArrayDestructure,
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
98 \ typescriptObjectDestructure
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
99
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
100 syntax region typescriptArrayDestructure matchgroup=typescriptBraces
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
101 \ start=/\[/ end=/]/
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
102 \ contains=@typescriptDestructureVariables,@typescriptComments
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
103 \ nextgroup=typescriptTypeAnnotation,typescriptAssign
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
104 \ transparent contained skipwhite skipempty fold
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
105
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
106 syntax region typescriptObjectDestructure matchgroup=typescriptBraces
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
107 \ start=/{/ end=/}/
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
108 \ contains=typescriptDestructureString,@typescriptDestructureVariables,@typescriptComments
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
109 \ nextgroup=typescriptTypeAnnotation,typescriptAssign
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
110 \ transparent contained skipwhite skipempty fold
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
111
18639
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
112 "Syntax in the JavaScript code
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
113
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
114 " String
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
115 syntax match typescriptASCII contained /\\\d\d\d/
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
116
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
117 syntax region typescriptTemplateSubstitution matchgroup=typescriptTemplateSB
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
118 \ start=/\${/ end=/}/
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
119 \ contains=@typescriptValue
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
120 \ contained
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
121
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
122
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
123 syntax region typescriptString
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
124 \ start=+\z(["']\)+ skip=+\\\%(\z1\|$\)+ end=+\z1+ end=+$+
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
125 \ contains=typescriptSpecial,@Spell
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
126 \ extend
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
127
22824
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
128 syntax match typescriptSpecial contained "\v\\%(x\x\x|u%(\x{4}|\{\x{1,6}})|c\u|.)"
18639
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
129
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
130 " From vim runtime
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
131 " <https://github.com/vim/vim/blob/master/runtime/syntax/javascript.vim#L48>
22824
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
132 syntax region typescriptRegexpString start=+/[^/*]+me=e-1 skip=+\\\\\|\\/+ end=+/[gimuy]\{0,5\}\s*$+ end=+/[gimuy]\{0,5\}\s*[;.,)\]}:]+me=e-1 nextgroup=typescriptDotNotation oneline
18639
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
133
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
134 syntax region typescriptTemplate
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
135 \ start=/`/ skip=/\\\\\|\\`\|\n/ end=/`\|$/
22824
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
136 \ contains=typescriptTemplateSubstitution,typescriptSpecial,@Spell
18639
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
137 \ nextgroup=@typescriptSymbols
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
138 \ skipwhite skipempty
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
139
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
140 "Array
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
141 syntax region typescriptArray matchgroup=typescriptBraces
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
142 \ start=/\[/ end=/]/
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
143 \ contains=@typescriptValue,@typescriptComments
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
144 \ nextgroup=@typescriptSymbols,typescriptDotNotation
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
145 \ skipwhite skipempty fold
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
146
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
147 " Number
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
148 syntax match typescriptNumber /\<0[bB][01][01_]*\>/ nextgroup=@typescriptSymbols skipwhite skipempty
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
149 syntax match typescriptNumber /\<0[oO][0-7][0-7_]*\>/ nextgroup=@typescriptSymbols skipwhite skipempty
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
150 syntax match typescriptNumber /\<0[xX][0-9a-fA-F][0-9a-fA-F_]*\>/ nextgroup=@typescriptSymbols skipwhite skipempty
22824
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
151 syntax match typescriptNumber /\<\%(\d[0-9_]*\%(\.\d[0-9_]*\)\=\|\.\d[0-9_]*\)\%([eE][+-]\=\d[0-9_]*\)\=\>/
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
152 \ nextgroup=typescriptSymbols skipwhite skipempty
18639
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
153
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
154 syntax region typescriptObjectLiteral matchgroup=typescriptBraces
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
155 \ start=/{/ end=/}/
22824
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
156 \ contains=@typescriptComments,typescriptObjectLabel,typescriptStringProperty,typescriptComputedPropertyName,typescriptObjectAsyncKeyword
18639
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
157 \ fold contained
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
158
22824
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
159 syntax keyword typescriptObjectAsyncKeyword async contained
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
160
18639
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
161 syntax match typescriptObjectLabel contained /\k\+\_s*/
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
162 \ nextgroup=typescriptObjectColon,@typescriptCallImpl
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
163 \ skipwhite skipempty
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
164
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
165 syntax region typescriptStringProperty contained
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
166 \ start=/\z(["']\)/ skip=/\\\\\|\\\z1\|\\\n/ end=/\z1/
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
167 \ nextgroup=typescriptObjectColon,@typescriptCallImpl
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
168 \ skipwhite skipempty
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
169
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
170 " syntax region typescriptPropertyName contained start=/\z(["']\)/ skip=/\\\\\|\\\z1\|\\\n/ end=/\z1(/me=e-1 nextgroup=@typescriptCallSignature skipwhite skipempty oneline
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
171 syntax region typescriptComputedPropertyName contained matchgroup=typescriptBraces
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
172 \ start=/\[/rs=s+1 end=/]/
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
173 \ contains=@typescriptValue
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
174 \ nextgroup=typescriptObjectColon,@typescriptCallImpl
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
175 \ skipwhite skipempty
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
176
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
177 " syntax region typescriptComputedPropertyName contained matchgroup=typescriptPropertyName start=/\[/rs=s+1 end=/]\_s*:/he=e-1 contains=@typescriptValue nextgroup=@typescriptValue skipwhite skipempty
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
178 " syntax region typescriptComputedPropertyName contained matchgroup=typescriptPropertyName start=/\[/rs=s+1 end=/]\_s*(/me=e-1 contains=@typescriptValue nextgroup=@typescriptCallSignature skipwhite skipempty
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
179 " Value for object, statement for label statement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
180 syntax match typescriptRestOrSpread /\.\.\./ contained
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
181 syntax match typescriptObjectSpread /\.\.\./ contained containedin=typescriptObjectLiteral,typescriptArray nextgroup=@typescriptValue
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
182
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
183 syntax match typescriptObjectColon contained /:/ nextgroup=@typescriptValue skipwhite skipempty
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
184
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
185 " + - ^ ~
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
186 syntax match typescriptUnaryOp /[+\-~!]/
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
187 \ nextgroup=@typescriptValue
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
188 \ skipwhite
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
189
18750
82a28df1e2d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 18639
diff changeset
190 syntax region typescriptTernary matchgroup=typescriptTernaryOp start=/?[.?]\@!/ end=/:/ contained contains=@typescriptValue,@typescriptComments nextgroup=@typescriptValue skipwhite skipempty
18639
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
191
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
192 syntax match typescriptAssign /=/ nextgroup=@typescriptValue
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
193 \ skipwhite skipempty
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
194
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
195 " 2: ==, ===
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
196 syntax match typescriptBinaryOp contained /===\?/ nextgroup=@typescriptValue skipwhite skipempty
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
197 " 6: >>>=, >>>, >>=, >>, >=, >
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
198 syntax match typescriptBinaryOp contained />\(>>=\|>>\|>=\|>\|=\)\?/ nextgroup=@typescriptValue skipwhite skipempty
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
199 " 4: <<=, <<, <=, <
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
200 syntax match typescriptBinaryOp contained /<\(<=\|<\|=\)\?/ nextgroup=@typescriptValue skipwhite skipempty
22824
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
201 " 3: ||, |=, |, ||=
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
202 syntax match typescriptBinaryOp contained /||\?=\?/ nextgroup=@typescriptValue skipwhite skipempty
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
203 " 4: &&, &=, &, &&=
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
204 syntax match typescriptBinaryOp contained /&&\?=\?/ nextgroup=@typescriptValue skipwhite skipempty
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
205 " 2: ??, ??=
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
206 syntax match typescriptBinaryOp contained /??=\?/ nextgroup=@typescriptValue skipwhite skipempty
18639
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
207 " 2: *=, *
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
208 syntax match typescriptBinaryOp contained /\*=\?/ nextgroup=@typescriptValue skipwhite skipempty
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
209 " 2: %=, %
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
210 syntax match typescriptBinaryOp contained /%=\?/ nextgroup=@typescriptValue skipwhite skipempty
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
211 " 2: /=, /
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
212 syntax match typescriptBinaryOp contained +/\(=\|[^\*/]\@=\)+ nextgroup=@typescriptValue skipwhite skipempty
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
213 syntax match typescriptBinaryOp contained /!==\?/ nextgroup=@typescriptValue skipwhite skipempty
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
214 " 2: !=, !==
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
215 syntax match typescriptBinaryOp contained /+\(+\|=\)\?/ nextgroup=@typescriptValue skipwhite skipempty
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
216 " 3: +, ++, +=
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
217 syntax match typescriptBinaryOp contained /-\(-\|=\)\?/ nextgroup=@typescriptValue skipwhite skipempty
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
218 " 3: -, --, -=
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
219
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
220 " exponentiation operator
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
221 " 2: **, **=
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
222 syntax match typescriptBinaryOp contained /\*\*=\?/ nextgroup=@typescriptValue
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
223
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
224 syntax cluster typescriptSymbols contains=typescriptBinaryOp,typescriptKeywordOp,typescriptTernary,typescriptAssign,typescriptCastKeyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
225
18750
82a28df1e2d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 18639
diff changeset
226 " runtime syntax/basic/reserved.vim
18639
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
227 "Import
22824
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
228 syntax keyword typescriptImport from as
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
229 syntax keyword typescriptImport import
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
230 \ nextgroup=typescriptImportType
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
231 \ skipwhite
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
232 syntax keyword typescriptImportType type
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
233 \ contained
18639
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
234 syntax keyword typescriptExport export
22824
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
235 \ nextgroup=typescriptExportType
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
236 \ skipwhite
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
237 syntax match typescriptExportType /\<type\s*{\@=/
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
238 \ contained skipwhite skipempty skipnl
18639
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
239 syntax keyword typescriptModule namespace module
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
240
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
241 "this
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
242
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
243 "JavaScript Prototype
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
244 syntax keyword typescriptPrototype prototype
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
245 \ nextgroup=@afterIdentifier
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
246
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
247 syntax keyword typescriptCastKeyword as
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
248 \ nextgroup=@typescriptType
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
249 \ skipwhite
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
250
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
251 "Program Keywords
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
252 syntax keyword typescriptIdentifier arguments this super
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
253 \ nextgroup=@afterIdentifier
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
254
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
255 syntax keyword typescriptVariable let var
22824
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
256 \ nextgroup=@typescriptVariableDeclarations
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
257 \ skipwhite skipempty
18639
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
258
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
259 syntax keyword typescriptVariable const
22824
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
260 \ nextgroup=typescriptEnum,@typescriptVariableDeclarations
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
261 \ skipwhite skipempty
18639
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
262
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
263 syntax region typescriptEnum matchgroup=typescriptEnumKeyword start=/enum / end=/\ze{/
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
264 \ nextgroup=typescriptBlock
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
265 \ skipwhite
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
266
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
267 syntax keyword typescriptKeywordOp
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
268 \ contained in instanceof nextgroup=@typescriptValue
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
269 syntax keyword typescriptOperator delete new typeof void
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
270 \ nextgroup=@typescriptValue
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
271 \ skipwhite skipempty
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
272
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
273 syntax keyword typescriptForOperator contained in of
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
274 syntax keyword typescriptBoolean true false nextgroup=@typescriptSymbols skipwhite skipempty
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
275 syntax keyword typescriptNull null undefined nextgroup=@typescriptSymbols skipwhite skipempty
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
276 syntax keyword typescriptMessage alert confirm prompt status
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
277 \ nextgroup=typescriptDotNotation,typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
278 syntax keyword typescriptGlobal self top parent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
279 \ nextgroup=@afterIdentifier
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
280
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
281 "Statement Keywords
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
282 syntax keyword typescriptConditional if else switch
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
283 \ nextgroup=typescriptConditionalParen
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
284 \ skipwhite skipempty skipnl
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
285 syntax keyword typescriptConditionalElse else
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
286 syntax keyword typescriptRepeat do while for nextgroup=typescriptLoopParen skipwhite skipempty
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
287 syntax keyword typescriptRepeat for nextgroup=typescriptLoopParen,typescriptAsyncFor skipwhite skipempty
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
288 syntax keyword typescriptBranch break continue containedin=typescriptBlock
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
289 syntax keyword typescriptCase case nextgroup=@typescriptPrimitive skipwhite containedin=typescriptBlock
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
290 syntax keyword typescriptDefault default containedin=typescriptBlock nextgroup=@typescriptValue,typescriptClassKeyword,typescriptInterfaceKeyword skipwhite oneline
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
291 syntax keyword typescriptStatementKeyword with
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
292 syntax keyword typescriptStatementKeyword yield skipwhite nextgroup=@typescriptValue containedin=typescriptBlock
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
293 syntax keyword typescriptStatementKeyword return skipwhite contained nextgroup=@typescriptValue containedin=typescriptBlock
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
294
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
295 syntax keyword typescriptTry try
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
296 syntax keyword typescriptExceptions catch throw finally
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
297 syntax keyword typescriptDebugger debugger
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
298
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
299 syntax keyword typescriptAsyncFor await nextgroup=typescriptLoopParen skipwhite skipempty contained
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
300
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
301 syntax region typescriptLoopParen contained matchgroup=typescriptParens
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
302 \ start=/(/ end=/)/
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
303 \ contains=typescriptVariable,typescriptForOperator,typescriptEndColons,@typescriptValue,@typescriptComments
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
304 \ nextgroup=typescriptBlock
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
305 \ skipwhite skipempty
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
306 syntax region typescriptConditionalParen contained matchgroup=typescriptParens
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
307 \ start=/(/ end=/)/
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
308 \ contains=@typescriptValue,@typescriptComments
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
309 \ nextgroup=typescriptBlock
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
310 \ skipwhite skipempty
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
311 syntax match typescriptEndColons /[;,]/ contained
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
312
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
313 syntax keyword typescriptAmbientDeclaration declare nextgroup=@typescriptAmbients
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
314 \ skipwhite skipempty
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
315
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
316 syntax cluster typescriptAmbients contains=
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
317 \ typescriptVariable,
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
318 \ typescriptFuncKeyword,
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
319 \ typescriptClassKeyword,
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
320 \ typescriptAbstract,
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
321 \ typescriptEnumKeyword,typescriptEnum,
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
322 \ typescriptModule
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
323
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
324 "Syntax coloring for Node.js shebang line
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
325 syntax match shellbang "^#!.*node\>"
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
326 syntax match shellbang "^#!.*iojs\>"
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
327
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
328
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
329 "JavaScript comments
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
330 syntax keyword typescriptCommentTodo TODO FIXME XXX TBD
22824
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
331 syntax match typescriptMagicComment "@ts-\%(ignore\|expect-error\)\>"
18639
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
332 syntax match typescriptLineComment "//.*"
22824
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
333 \ contains=@Spell,typescriptCommentTodo,typescriptRef,typescriptMagicComment
18639
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
334 syntax region typescriptComment
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
335 \ start="/\*" end="\*/"
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
336 \ contains=@Spell,typescriptCommentTodo extend
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
337 syntax cluster typescriptComments
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
338 \ contains=typescriptDocComment,typescriptComment,typescriptLineComment
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
339
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
340 syntax match typescriptRef +///\s*<reference\s\+.*\/>$+
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
341 \ contains=typescriptString
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
342 syntax match typescriptRef +///\s*<amd-dependency\s\+.*\/>$+
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
343 \ contains=typescriptString
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
344 syntax match typescriptRef +///\s*<amd-module\s\+.*\/>$+
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
345 \ contains=typescriptString
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
346
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
347 "JSDoc
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
348 syntax case ignore
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
349
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
350 syntax region typescriptDocComment matchgroup=typescriptComment
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
351 \ start="/\*\*" end="\*/"
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
352 \ contains=typescriptDocNotation,typescriptCommentTodo,@Spell
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
353 \ fold keepend
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
354 syntax match typescriptDocNotation contained /@/ nextgroup=typescriptDocTags
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
355
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
356 syntax keyword typescriptDocTags contained constant constructor constructs function ignore inner private public readonly static
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
357 syntax keyword typescriptDocTags contained const dict expose inheritDoc interface nosideeffects override protected struct internal
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
358 syntax keyword typescriptDocTags contained example global
18750
82a28df1e2d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 18639
diff changeset
359 syntax keyword typescriptDocTags contained alpha beta defaultValue eventProperty experimental label
82a28df1e2d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 18639
diff changeset
360 syntax keyword typescriptDocTags contained packageDocumentation privateRemarks remarks sealed typeParam
18639
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
361
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
362 " syntax keyword typescriptDocTags contained ngdoc nextgroup=typescriptDocNGDirective
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
363 syntax keyword typescriptDocTags contained ngdoc scope priority animations
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
364 syntax keyword typescriptDocTags contained ngdoc restrict methodOf propertyOf eventOf eventType nextgroup=typescriptDocParam skipwhite
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
365 syntax keyword typescriptDocNGDirective contained overview service object function method property event directive filter inputType error
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
366
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
367 syntax keyword typescriptDocTags contained abstract virtual access augments
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
368
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
369 syntax keyword typescriptDocTags contained arguments callback lends memberOf name type kind link mixes mixin tutorial nextgroup=typescriptDocParam skipwhite
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
370 syntax keyword typescriptDocTags contained variation nextgroup=typescriptDocNumParam skipwhite
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
371
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
372 syntax keyword typescriptDocTags contained author class classdesc copyright default defaultvalue nextgroup=typescriptDocDesc skipwhite
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
373 syntax keyword typescriptDocTags contained deprecated description external host nextgroup=typescriptDocDesc skipwhite
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
374 syntax keyword typescriptDocTags contained file fileOverview overview namespace requires since version nextgroup=typescriptDocDesc skipwhite
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
375 syntax keyword typescriptDocTags contained summary todo license preserve nextgroup=typescriptDocDesc skipwhite
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
376
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
377 syntax keyword typescriptDocTags contained borrows exports nextgroup=typescriptDocA skipwhite
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
378 syntax keyword typescriptDocTags contained param arg argument property prop module nextgroup=typescriptDocNamedParamType,typescriptDocParamName skipwhite
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
379 syntax keyword typescriptDocTags contained define enum extends implements this typedef nextgroup=typescriptDocParamType skipwhite
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
380 syntax keyword typescriptDocTags contained return returns throws exception nextgroup=typescriptDocParamType,typescriptDocParamName skipwhite
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
381 syntax keyword typescriptDocTags contained see nextgroup=typescriptDocRef skipwhite
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
382
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
383 syntax keyword typescriptDocTags contained function func method nextgroup=typescriptDocName skipwhite
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
384 syntax match typescriptDocName contained /\h\w*/
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
385
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
386 syntax keyword typescriptDocTags contained fires event nextgroup=typescriptDocEventRef skipwhite
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
387 syntax match typescriptDocEventRef contained /\h\w*#\(\h\w*\:\)\?\h\w*/
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
388
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
389 syntax match typescriptDocNamedParamType contained /{.\+}/ nextgroup=typescriptDocParamName skipwhite
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
390 syntax match typescriptDocParamName contained /\[\?0-9a-zA-Z_\.]\+\]\?/ nextgroup=typescriptDocDesc skipwhite
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
391 syntax match typescriptDocParamType contained /{.\+}/ nextgroup=typescriptDocDesc skipwhite
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
392 syntax match typescriptDocA contained /\%(#\|\w\|\.\|:\|\/\)\+/ nextgroup=typescriptDocAs skipwhite
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
393 syntax match typescriptDocAs contained /\s*as\s*/ nextgroup=typescriptDocB skipwhite
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
394 syntax match typescriptDocB contained /\%(#\|\w\|\.\|:\|\/\)\+/
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
395 syntax match typescriptDocParam contained /\%(#\|\w\|\.\|:\|\/\|-\)\+/
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
396 syntax match typescriptDocNumParam contained /\d\+/
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
397 syntax match typescriptDocRef contained /\%(#\|\w\|\.\|:\|\/\)\+/
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
398 syntax region typescriptDocLinkTag contained matchgroup=typescriptDocLinkTag start=/{/ end=/}/ contains=typescriptDocTags
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
399
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
400 syntax cluster typescriptDocs contains=typescriptDocParamType,typescriptDocNamedParamType,typescriptDocParam
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
401
22824
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
402 if exists("main_syntax") && main_syntax == "typescript"
18639
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
403 syntax sync clear
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
404 syntax sync ccomment typescriptComment minlines=200
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
405 endif
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
406
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
407 syntax case match
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
408
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
409 " Types
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
410 syntax match typescriptOptionalMark /?/ contained
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
411
22824
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
412 syntax cluster typescriptTypeParameterCluster contains=
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
413 \ typescriptTypeParameter,
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
414 \ typescriptGenericDefault
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
415
18639
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
416 syntax region typescriptTypeParameters matchgroup=typescriptTypeBrackets
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
417 \ start=/</ end=/>/
22824
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
418 \ contains=@typescriptTypeParameterCluster
18639
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
419 \ contained
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
420
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
421 syntax match typescriptTypeParameter /\K\k*/
22824
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
422 \ nextgroup=typescriptConstraint
18639
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
423 \ contained skipwhite skipnl
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
424
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
425 syntax keyword typescriptConstraint extends
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
426 \ nextgroup=@typescriptType
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
427 \ contained skipwhite skipnl
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
428
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
429 syntax match typescriptGenericDefault /=/
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
430 \ nextgroup=@typescriptType
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
431 \ contained skipwhite
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
432
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
433 "><
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
434 " class A extend B<T> {} // ClassBlock
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
435 " func<T>() // FuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
436 syntax region typescriptTypeArguments matchgroup=typescriptTypeBrackets
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
437 \ start=/\></ end=/>/
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
438 \ contains=@typescriptType
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
439 \ nextgroup=typescriptFuncCallArg,@typescriptTypeOperator
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
440 \ contained skipwhite
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
441
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
442
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
443 syntax cluster typescriptType contains=
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
444 \ @typescriptPrimaryType,
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
445 \ typescriptUnion,
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
446 \ @typescriptFunctionType,
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
447 \ typescriptConstructorType
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
448
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
449 " array type: A[]
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
450 " type indexing A['key']
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
451 syntax region typescriptTypeBracket contained
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
452 \ start=/\[/ end=/\]/
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
453 \ contains=typescriptString,typescriptNumber
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
454 \ nextgroup=@typescriptTypeOperator
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
455 \ skipwhite skipempty
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
456
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
457 syntax cluster typescriptPrimaryType contains=
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
458 \ typescriptParenthesizedType,
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
459 \ typescriptPredefinedType,
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
460 \ typescriptTypeReference,
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
461 \ typescriptObjectType,
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
462 \ typescriptTupleType,
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
463 \ typescriptTypeQuery,
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
464 \ typescriptStringLiteralType,
22824
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
465 \ typescriptTemplateLiteralType,
18750
82a28df1e2d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 18639
diff changeset
466 \ typescriptReadonlyArrayKeyword,
82a28df1e2d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 18639
diff changeset
467 \ typescriptAssertType
18639
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
468
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
469 syntax region typescriptStringLiteralType contained
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
470 \ start=/\z(["']\)/ skip=/\\\\\|\\\z1\|\\\n/ end=/\z1\|$/
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
471 \ nextgroup=typescriptUnion
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
472 \ skipwhite skipempty
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
473
22824
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
474 syntax region typescriptTemplateLiteralType contained
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
475 \ start=/`/ skip=/\\\\\|\\`\|\n/ end=/`\|$/
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
476 \ contains=typescriptTemplateSubstitutionType
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
477 \ nextgroup=typescriptTypeOperator
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
478 \ skipwhite skipempty
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
479
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
480 syntax region typescriptTemplateSubstitutionType matchgroup=typescriptTemplateSB
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
481 \ start=/\${/ end=/}/
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
482 \ contains=@typescriptType
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
483 \ contained
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
484
18639
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
485 syntax region typescriptParenthesizedType matchgroup=typescriptParens
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
486 \ start=/(/ end=/)/
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
487 \ contains=@typescriptType
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
488 \ nextgroup=@typescriptTypeOperator
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
489 \ contained skipwhite skipempty fold
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
490
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
491 syntax match typescriptTypeReference /\K\k*\(\.\K\k*\)*/
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
492 \ nextgroup=typescriptTypeArguments,@typescriptTypeOperator,typescriptUserDefinedType
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
493 \ skipwhite contained skipempty
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
494
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
495 syntax keyword typescriptPredefinedType any number boolean string void never undefined null object unknown
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
496 \ nextgroup=@typescriptTypeOperator
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
497 \ contained skipwhite skipempty
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
498
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
499 syntax match typescriptPredefinedType /unique symbol/
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
500 \ nextgroup=@typescriptTypeOperator
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
501 \ contained skipwhite skipempty
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
502
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
503 syntax region typescriptObjectType matchgroup=typescriptBraces
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
504 \ start=/{/ end=/}/
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
505 \ contains=@typescriptTypeMember,typescriptEndColons,@typescriptComments,typescriptAccessibilityModifier,typescriptReadonlyModifier
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
506 \ nextgroup=@typescriptTypeOperator
22824
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
507 \ contained skipwhite skipnl fold
18639
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
508
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
509 syntax cluster typescriptTypeMember contains=
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
510 \ @typescriptCallSignature,
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
511 \ typescriptConstructSignature,
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
512 \ typescriptIndexSignature,
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
513 \ @typescriptMembers
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
514
22824
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
515 syntax match typescriptTupleLable /\K\k*?\?:/
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
516 \ contained
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
517
18639
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
518 syntax region typescriptTupleType matchgroup=typescriptBraces
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
519 \ start=/\[/ end=/\]/
22824
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
520 \ contains=@typescriptType,@typescriptComments,typescriptRestOrSpread,typescriptTupleLable
18750
82a28df1e2d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 18639
diff changeset
521 \ contained skipwhite
18639
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
522
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
523 syntax cluster typescriptTypeOperator
22824
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
524 \ contains=typescriptUnion,typescriptTypeBracket,typescriptConstraint,typescriptConditionalType
18639
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
525
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
526 syntax match typescriptUnion /|\|&/ contained nextgroup=@typescriptPrimaryType skipwhite skipempty
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
527
22824
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
528 syntax match typescriptConditionalType /?\|:/ contained nextgroup=@typescriptPrimaryType skipwhite skipempty
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
529
18639
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
530 syntax cluster typescriptFunctionType contains=typescriptGenericFunc,typescriptFuncType
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
531 syntax region typescriptGenericFunc matchgroup=typescriptTypeBrackets
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
532 \ start=/</ end=/>/
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
533 \ contains=typescriptTypeParameter
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
534 \ nextgroup=typescriptFuncType
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
535 \ containedin=typescriptFunctionType
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
536 \ contained skipwhite skipnl
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
537
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
538 syntax region typescriptFuncType matchgroup=typescriptParens
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
539 \ start=/(/ end=/)\s*=>/me=e-2
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
540 \ contains=@typescriptParameterList
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
541 \ nextgroup=typescriptFuncTypeArrow
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
542 \ contained skipwhite skipnl oneline
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
543
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
544 syntax match typescriptFuncTypeArrow /=>/
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
545 \ nextgroup=@typescriptType
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
546 \ containedin=typescriptFuncType
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
547 \ contained skipwhite skipnl
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
548
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
549
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
550 syntax keyword typescriptConstructorType new
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
551 \ nextgroup=@typescriptFunctionType
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
552 \ contained skipwhite skipnl
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
553
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
554 syntax keyword typescriptUserDefinedType is
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
555 \ contained nextgroup=@typescriptType skipwhite skipempty
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
556
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
557 syntax keyword typescriptTypeQuery typeof keyof
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
558 \ nextgroup=typescriptTypeReference
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
559 \ contained skipwhite skipnl
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
560
18750
82a28df1e2d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 18639
diff changeset
561 syntax keyword typescriptAssertType asserts
82a28df1e2d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 18639
diff changeset
562 \ nextgroup=typescriptTypeReference
82a28df1e2d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 18639
diff changeset
563 \ contained skipwhite skipnl
82a28df1e2d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 18639
diff changeset
564
18639
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
565 syntax cluster typescriptCallSignature contains=typescriptGenericCall,typescriptCall
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
566 syntax region typescriptGenericCall matchgroup=typescriptTypeBrackets
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
567 \ start=/</ end=/>/
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
568 \ contains=typescriptTypeParameter
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
569 \ nextgroup=typescriptCall
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
570 \ contained skipwhite skipnl
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
571 syntax region typescriptCall matchgroup=typescriptParens
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
572 \ start=/(/ end=/)/
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
573 \ contains=typescriptDecorator,@typescriptParameterList,@typescriptComments
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
574 \ nextgroup=typescriptTypeAnnotation,typescriptBlock
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
575 \ contained skipwhite skipnl
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
576
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
577 syntax match typescriptTypeAnnotation /:/
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
578 \ nextgroup=@typescriptType
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
579 \ contained skipwhite skipnl
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
580
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
581 syntax cluster typescriptParameterList contains=
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
582 \ typescriptTypeAnnotation,
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
583 \ typescriptAccessibilityModifier,
22824
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
584 \ typescriptReadonlyModifier,
18639
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
585 \ typescriptOptionalMark,
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
586 \ typescriptRestOrSpread,
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
587 \ typescriptFuncComma,
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
588 \ typescriptDefaultParam
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
589
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
590 syntax match typescriptFuncComma /,/ contained
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
591
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
592 syntax match typescriptDefaultParam /=/
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
593 \ nextgroup=@typescriptValue
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
594 \ contained skipwhite
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
595
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
596 syntax keyword typescriptConstructSignature new
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
597 \ nextgroup=@typescriptCallSignature
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
598 \ contained skipwhite
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
599
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
600 syntax region typescriptIndexSignature matchgroup=typescriptBraces
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
601 \ start=/\[/ end=/\]/
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
602 \ contains=typescriptPredefinedType,typescriptMappedIn,typescriptString
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
603 \ nextgroup=typescriptTypeAnnotation
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
604 \ contained skipwhite oneline
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
605
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
606 syntax keyword typescriptMappedIn in
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
607 \ nextgroup=@typescriptType
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
608 \ contained skipwhite skipnl skipempty
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
609
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
610 syntax keyword typescriptAliasKeyword type
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
611 \ nextgroup=typescriptAliasDeclaration
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
612 \ skipwhite skipnl skipempty
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
613
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
614 syntax region typescriptAliasDeclaration matchgroup=typescriptUnion
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
615 \ start=/ / end=/=/
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
616 \ nextgroup=@typescriptType
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
617 \ contains=typescriptConstraint,typescriptTypeParameters
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
618 \ contained skipwhite skipempty
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
619
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
620 syntax keyword typescriptReadonlyArrayKeyword readonly
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
621 \ nextgroup=@typescriptPrimaryType
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
622 \ skipwhite
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
623
22824
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
624
18639
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
625 " extension
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
626 if get(g:, 'yats_host_keyword', 1)
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
627 syntax keyword typescriptGlobal containedin=typescriptIdentifierName Function Boolean
25880
9c221ad9634a Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 22824
diff changeset
628 " use of nextgroup Suggested by Doug Kearns
9c221ad9634a Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 22824
diff changeset
629 syntax keyword typescriptGlobal containedin=typescriptIdentifierName Error EvalError nextgroup=typescriptFuncCallArg
18639
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
630 syntax keyword typescriptGlobal containedin=typescriptIdentifierName InternalError
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
631 syntax keyword typescriptGlobal containedin=typescriptIdentifierName RangeError ReferenceError
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
632 syntax keyword typescriptGlobal containedin=typescriptIdentifierName StopIteration
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
633 syntax keyword typescriptGlobal containedin=typescriptIdentifierName SyntaxError TypeError
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
634 syntax keyword typescriptGlobal containedin=typescriptIdentifierName URIError Date
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
635 syntax keyword typescriptGlobal containedin=typescriptIdentifierName Float32Array
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
636 syntax keyword typescriptGlobal containedin=typescriptIdentifierName Float64Array
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
637 syntax keyword typescriptGlobal containedin=typescriptIdentifierName Int16Array Int32Array
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
638 syntax keyword typescriptGlobal containedin=typescriptIdentifierName Int8Array Uint16Array
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
639 syntax keyword typescriptGlobal containedin=typescriptIdentifierName Uint32Array Uint8Array
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
640 syntax keyword typescriptGlobal containedin=typescriptIdentifierName Uint8ClampedArray
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
641 syntax keyword typescriptGlobal containedin=typescriptIdentifierName ParallelArray
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
642 syntax keyword typescriptGlobal containedin=typescriptIdentifierName ArrayBuffer DataView
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
643 syntax keyword typescriptGlobal containedin=typescriptIdentifierName Iterator Generator
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
644 syntax keyword typescriptGlobal containedin=typescriptIdentifierName Reflect Proxy
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
645 syntax keyword typescriptGlobal containedin=typescriptIdentifierName arguments
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
646 hi def link typescriptGlobal Structure
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
647 syntax keyword typescriptGlobalMethod containedin=typescriptIdentifierName eval uneval nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
648 syntax keyword typescriptGlobalMethod containedin=typescriptIdentifierName isFinite nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
649 syntax keyword typescriptGlobalMethod containedin=typescriptIdentifierName isNaN parseFloat nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
650 syntax keyword typescriptGlobalMethod containedin=typescriptIdentifierName parseInt nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
651 syntax keyword typescriptGlobalMethod containedin=typescriptIdentifierName decodeURI nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
652 syntax keyword typescriptGlobalMethod containedin=typescriptIdentifierName decodeURIComponent nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
653 syntax keyword typescriptGlobalMethod containedin=typescriptIdentifierName encodeURI nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
654 syntax keyword typescriptGlobalMethod containedin=typescriptIdentifierName encodeURIComponent nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
655 syntax cluster props add=typescriptGlobalMethod
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
656 hi def link typescriptGlobalMethod Structure
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
657
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
658 syntax keyword typescriptGlobal containedin=typescriptIdentifierName Number nextgroup=typescriptGlobalNumberDot,typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
659 syntax match typescriptGlobalNumberDot /\./ contained nextgroup=typescriptNumberStaticProp,typescriptNumberStaticMethod,typescriptProp
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
660 syntax keyword typescriptNumberStaticProp contained EPSILON MAX_SAFE_INTEGER MAX_VALUE
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
661 syntax keyword typescriptNumberStaticProp contained MIN_SAFE_INTEGER MIN_VALUE NEGATIVE_INFINITY
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
662 syntax keyword typescriptNumberStaticProp contained NaN POSITIVE_INFINITY
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
663 hi def link typescriptNumberStaticProp Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
664 syntax keyword typescriptNumberStaticMethod contained isFinite isInteger isNaN isSafeInteger nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
665 syntax keyword typescriptNumberStaticMethod contained parseFloat parseInt nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
666 hi def link typescriptNumberStaticMethod Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
667 syntax keyword typescriptNumberMethod contained toExponential toFixed toLocaleString nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
668 syntax keyword typescriptNumberMethod contained toPrecision toSource toString valueOf nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
669 syntax cluster props add=typescriptNumberMethod
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
670 hi def link typescriptNumberMethod Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
671
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
672 syntax keyword typescriptGlobal containedin=typescriptIdentifierName String nextgroup=typescriptGlobalStringDot,typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
673 syntax match typescriptGlobalStringDot /\./ contained nextgroup=typescriptStringStaticMethod,typescriptProp
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
674 syntax keyword typescriptStringStaticMethod contained fromCharCode fromCodePoint raw nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
675 hi def link typescriptStringStaticMethod Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
676 syntax keyword typescriptStringMethod contained anchor charAt charCodeAt codePointAt nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
677 syntax keyword typescriptStringMethod contained concat endsWith includes indexOf lastIndexOf nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
678 syntax keyword typescriptStringMethod contained link localeCompare match normalize nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
679 syntax keyword typescriptStringMethod contained padStart padEnd repeat replace search nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
680 syntax keyword typescriptStringMethod contained slice split startsWith substr substring nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
681 syntax keyword typescriptStringMethod contained toLocaleLowerCase toLocaleUpperCase nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
682 syntax keyword typescriptStringMethod contained toLowerCase toString toUpperCase trim nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
683 syntax keyword typescriptStringMethod contained valueOf nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
684 syntax cluster props add=typescriptStringMethod
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
685 hi def link typescriptStringMethod Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
686
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
687 syntax keyword typescriptGlobal containedin=typescriptIdentifierName Array nextgroup=typescriptGlobalArrayDot,typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
688 syntax match typescriptGlobalArrayDot /\./ contained nextgroup=typescriptArrayStaticMethod,typescriptProp
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
689 syntax keyword typescriptArrayStaticMethod contained from isArray of nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
690 hi def link typescriptArrayStaticMethod Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
691 syntax keyword typescriptArrayMethod contained concat copyWithin entries every fill nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
692 syntax keyword typescriptArrayMethod contained filter find findIndex forEach indexOf nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
693 syntax keyword typescriptArrayMethod contained includes join keys lastIndexOf map nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
694 syntax keyword typescriptArrayMethod contained pop push reduce reduceRight reverse nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
695 syntax keyword typescriptArrayMethod contained shift slice some sort splice toLocaleString nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
696 syntax keyword typescriptArrayMethod contained toSource toString unshift nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
697 syntax cluster props add=typescriptArrayMethod
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
698 hi def link typescriptArrayMethod Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
699
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
700 syntax keyword typescriptGlobal containedin=typescriptIdentifierName Object nextgroup=typescriptGlobalObjectDot,typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
701 syntax match typescriptGlobalObjectDot /\./ contained nextgroup=typescriptObjectStaticMethod,typescriptProp
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
702 syntax keyword typescriptObjectStaticMethod contained create defineProperties defineProperty nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
703 syntax keyword typescriptObjectStaticMethod contained entries freeze getOwnPropertyDescriptors nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
704 syntax keyword typescriptObjectStaticMethod contained getOwnPropertyDescriptor getOwnPropertyNames nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
705 syntax keyword typescriptObjectStaticMethod contained getOwnPropertySymbols getPrototypeOf nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
706 syntax keyword typescriptObjectStaticMethod contained is isExtensible isFrozen isSealed nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
707 syntax keyword typescriptObjectStaticMethod contained keys preventExtensions values nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
708 hi def link typescriptObjectStaticMethod Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
709 syntax keyword typescriptObjectMethod contained getOwnPropertyDescriptors hasOwnProperty nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
710 syntax keyword typescriptObjectMethod contained isPrototypeOf propertyIsEnumerable nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
711 syntax keyword typescriptObjectMethod contained toLocaleString toString valueOf seal nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
712 syntax keyword typescriptObjectMethod contained setPrototypeOf nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
713 syntax cluster props add=typescriptObjectMethod
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
714 hi def link typescriptObjectMethod Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
715
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
716 syntax keyword typescriptGlobal containedin=typescriptIdentifierName Symbol nextgroup=typescriptGlobalSymbolDot,typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
717 syntax match typescriptGlobalSymbolDot /\./ contained nextgroup=typescriptSymbolStaticProp,typescriptSymbolStaticMethod,typescriptProp
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
718 syntax keyword typescriptSymbolStaticProp contained length iterator match replace
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
719 syntax keyword typescriptSymbolStaticProp contained search split hasInstance isConcatSpreadable
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
720 syntax keyword typescriptSymbolStaticProp contained unscopables species toPrimitive
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
721 syntax keyword typescriptSymbolStaticProp contained toStringTag
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
722 hi def link typescriptSymbolStaticProp Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
723 syntax keyword typescriptSymbolStaticMethod contained for keyFor nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
724 hi def link typescriptSymbolStaticMethod Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
725
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
726 syntax keyword typescriptGlobal containedin=typescriptIdentifierName Function
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
727 syntax keyword typescriptFunctionMethod contained apply bind call nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
728 syntax cluster props add=typescriptFunctionMethod
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
729 hi def link typescriptFunctionMethod Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
730
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
731 syntax keyword typescriptGlobal containedin=typescriptIdentifierName Math nextgroup=typescriptGlobalMathDot,typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
732 syntax match typescriptGlobalMathDot /\./ contained nextgroup=typescriptMathStaticProp,typescriptMathStaticMethod,typescriptProp
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
733 syntax keyword typescriptMathStaticProp contained E LN10 LN2 LOG10E LOG2E PI SQRT1_2
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
734 syntax keyword typescriptMathStaticProp contained SQRT2
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
735 hi def link typescriptMathStaticProp Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
736 syntax keyword typescriptMathStaticMethod contained abs acos acosh asin asinh atan nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
737 syntax keyword typescriptMathStaticMethod contained atan2 atanh cbrt ceil clz32 cos nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
738 syntax keyword typescriptMathStaticMethod contained cosh exp expm1 floor fround hypot nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
739 syntax keyword typescriptMathStaticMethod contained imul log log10 log1p log2 max nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
740 syntax keyword typescriptMathStaticMethod contained min pow random round sign sin nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
741 syntax keyword typescriptMathStaticMethod contained sinh sqrt tan tanh trunc nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
742 hi def link typescriptMathStaticMethod Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
743
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
744 syntax keyword typescriptGlobal containedin=typescriptIdentifierName Date nextgroup=typescriptGlobalDateDot,typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
745 syntax match typescriptGlobalDateDot /\./ contained nextgroup=typescriptDateStaticMethod,typescriptProp
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
746 syntax keyword typescriptDateStaticMethod contained UTC now parse nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
747 hi def link typescriptDateStaticMethod Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
748 syntax keyword typescriptDateMethod contained getDate getDay getFullYear getHours nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
749 syntax keyword typescriptDateMethod contained getMilliseconds getMinutes getMonth nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
750 syntax keyword typescriptDateMethod contained getSeconds getTime getTimezoneOffset nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
751 syntax keyword typescriptDateMethod contained getUTCDate getUTCDay getUTCFullYear nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
752 syntax keyword typescriptDateMethod contained getUTCHours getUTCMilliseconds getUTCMinutes nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
753 syntax keyword typescriptDateMethod contained getUTCMonth getUTCSeconds setDate setFullYear nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
754 syntax keyword typescriptDateMethod contained setHours setMilliseconds setMinutes nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
755 syntax keyword typescriptDateMethod contained setMonth setSeconds setTime setUTCDate nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
756 syntax keyword typescriptDateMethod contained setUTCFullYear setUTCHours setUTCMilliseconds nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
757 syntax keyword typescriptDateMethod contained setUTCMinutes setUTCMonth setUTCSeconds nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
758 syntax keyword typescriptDateMethod contained toDateString toISOString toJSON toLocaleDateString nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
759 syntax keyword typescriptDateMethod contained toLocaleFormat toLocaleString toLocaleTimeString nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
760 syntax keyword typescriptDateMethod contained toSource toString toTimeString toUTCString nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
761 syntax keyword typescriptDateMethod contained valueOf nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
762 syntax cluster props add=typescriptDateMethod
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
763 hi def link typescriptDateMethod Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
764
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
765 syntax keyword typescriptGlobal containedin=typescriptIdentifierName JSON nextgroup=typescriptGlobalJSONDot,typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
766 syntax match typescriptGlobalJSONDot /\./ contained nextgroup=typescriptJSONStaticMethod,typescriptProp
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
767 syntax keyword typescriptJSONStaticMethod contained parse stringify nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
768 hi def link typescriptJSONStaticMethod Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
769
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
770 syntax keyword typescriptGlobal containedin=typescriptIdentifierName RegExp nextgroup=typescriptGlobalRegExpDot,typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
771 syntax match typescriptGlobalRegExpDot /\./ contained nextgroup=typescriptRegExpStaticProp,typescriptProp
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
772 syntax keyword typescriptRegExpStaticProp contained lastIndex
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
773 hi def link typescriptRegExpStaticProp Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
774 syntax keyword typescriptRegExpProp contained global ignoreCase multiline source sticky
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
775 syntax cluster props add=typescriptRegExpProp
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
776 hi def link typescriptRegExpProp Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
777 syntax keyword typescriptRegExpMethod contained exec test nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
778 syntax cluster props add=typescriptRegExpMethod
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
779 hi def link typescriptRegExpMethod Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
780
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
781 syntax keyword typescriptGlobal containedin=typescriptIdentifierName Map WeakMap
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
782 syntax keyword typescriptES6MapProp contained size
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
783 syntax cluster props add=typescriptES6MapProp
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
784 hi def link typescriptES6MapProp Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
785 syntax keyword typescriptES6MapMethod contained clear delete entries forEach get has nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
786 syntax keyword typescriptES6MapMethod contained keys set values nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
787 syntax cluster props add=typescriptES6MapMethod
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
788 hi def link typescriptES6MapMethod Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
789
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
790 syntax keyword typescriptGlobal containedin=typescriptIdentifierName Set WeakSet
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
791 syntax keyword typescriptES6SetProp contained size
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
792 syntax cluster props add=typescriptES6SetProp
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
793 hi def link typescriptES6SetProp Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
794 syntax keyword typescriptES6SetMethod contained add clear delete entries forEach has nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
795 syntax keyword typescriptES6SetMethod contained values nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
796 syntax cluster props add=typescriptES6SetMethod
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
797 hi def link typescriptES6SetMethod Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
798
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
799 syntax keyword typescriptGlobal containedin=typescriptIdentifierName Proxy
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
800 syntax keyword typescriptProxyAPI contained getOwnPropertyDescriptor getOwnPropertyNames
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
801 syntax keyword typescriptProxyAPI contained defineProperty deleteProperty freeze seal
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
802 syntax keyword typescriptProxyAPI contained preventExtensions has hasOwn get set enumerate
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
803 syntax keyword typescriptProxyAPI contained iterate ownKeys apply construct
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
804 hi def link typescriptProxyAPI Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
805
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
806 syntax keyword typescriptGlobal containedin=typescriptIdentifierName Promise nextgroup=typescriptGlobalPromiseDot,typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
807 syntax match typescriptGlobalPromiseDot /\./ contained nextgroup=typescriptPromiseStaticMethod,typescriptProp
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
808 syntax keyword typescriptPromiseStaticMethod contained resolve reject all race nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
809 hi def link typescriptPromiseStaticMethod Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
810 syntax keyword typescriptPromiseMethod contained then catch finally nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
811 syntax cluster props add=typescriptPromiseMethod
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
812 hi def link typescriptPromiseMethod Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
813
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
814 syntax keyword typescriptGlobal containedin=typescriptIdentifierName Reflect
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
815 syntax keyword typescriptReflectMethod contained apply construct defineProperty deleteProperty nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
816 syntax keyword typescriptReflectMethod contained enumerate get getOwnPropertyDescriptor nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
817 syntax keyword typescriptReflectMethod contained getPrototypeOf has isExtensible ownKeys nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
818 syntax keyword typescriptReflectMethod contained preventExtensions set setPrototypeOf nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
819 syntax cluster props add=typescriptReflectMethod
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
820 hi def link typescriptReflectMethod Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
821
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
822 syntax keyword typescriptGlobal containedin=typescriptIdentifierName Intl
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
823 syntax keyword typescriptIntlMethod contained Collator DateTimeFormat NumberFormat nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
824 syntax keyword typescriptIntlMethod contained PluralRules nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
825 syntax cluster props add=typescriptIntlMethod
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
826 hi def link typescriptIntlMethod Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
827
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
828 syntax keyword typescriptNodeGlobal containedin=typescriptIdentifierName global process
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
829 syntax keyword typescriptNodeGlobal containedin=typescriptIdentifierName console Buffer
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
830 syntax keyword typescriptNodeGlobal containedin=typescriptIdentifierName module exports
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
831 syntax keyword typescriptNodeGlobal containedin=typescriptIdentifierName setTimeout
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
832 syntax keyword typescriptNodeGlobal containedin=typescriptIdentifierName clearTimeout
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
833 syntax keyword typescriptNodeGlobal containedin=typescriptIdentifierName setInterval
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
834 syntax keyword typescriptNodeGlobal containedin=typescriptIdentifierName clearInterval
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
835 hi def link typescriptNodeGlobal Structure
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
836
18750
82a28df1e2d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 18639
diff changeset
837 syntax keyword typescriptTestGlobal containedin=typescriptIdentifierName describe
82a28df1e2d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 18639
diff changeset
838 syntax keyword typescriptTestGlobal containedin=typescriptIdentifierName it test before
82a28df1e2d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 18639
diff changeset
839 syntax keyword typescriptTestGlobal containedin=typescriptIdentifierName after beforeEach
82a28df1e2d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 18639
diff changeset
840 syntax keyword typescriptTestGlobal containedin=typescriptIdentifierName afterEach
82a28df1e2d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 18639
diff changeset
841 syntax keyword typescriptTestGlobal containedin=typescriptIdentifierName beforeAll
82a28df1e2d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 18639
diff changeset
842 syntax keyword typescriptTestGlobal containedin=typescriptIdentifierName afterAll
82a28df1e2d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 18639
diff changeset
843 syntax keyword typescriptTestGlobal containedin=typescriptIdentifierName expect assert
18639
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
844
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
845 syntax keyword typescriptBOM containedin=typescriptIdentifierName AbortController
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
846 syntax keyword typescriptBOM containedin=typescriptIdentifierName AbstractWorker AnalyserNode
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
847 syntax keyword typescriptBOM containedin=typescriptIdentifierName App Apps ArrayBuffer
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
848 syntax keyword typescriptBOM containedin=typescriptIdentifierName ArrayBufferView
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
849 syntax keyword typescriptBOM containedin=typescriptIdentifierName Attr AudioBuffer
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
850 syntax keyword typescriptBOM containedin=typescriptIdentifierName AudioBufferSourceNode
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
851 syntax keyword typescriptBOM containedin=typescriptIdentifierName AudioContext AudioDestinationNode
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
852 syntax keyword typescriptBOM containedin=typescriptIdentifierName AudioListener AudioNode
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
853 syntax keyword typescriptBOM containedin=typescriptIdentifierName AudioParam BatteryManager
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
854 syntax keyword typescriptBOM containedin=typescriptIdentifierName BiquadFilterNode
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
855 syntax keyword typescriptBOM containedin=typescriptIdentifierName BlobEvent BluetoothAdapter
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
856 syntax keyword typescriptBOM containedin=typescriptIdentifierName BluetoothDevice
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
857 syntax keyword typescriptBOM containedin=typescriptIdentifierName BluetoothManager
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
858 syntax keyword typescriptBOM containedin=typescriptIdentifierName CameraCapabilities
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
859 syntax keyword typescriptBOM containedin=typescriptIdentifierName CameraControl CameraManager
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
860 syntax keyword typescriptBOM containedin=typescriptIdentifierName CanvasGradient CanvasImageSource
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
861 syntax keyword typescriptBOM containedin=typescriptIdentifierName CanvasPattern CanvasRenderingContext2D
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
862 syntax keyword typescriptBOM containedin=typescriptIdentifierName CaretPosition CDATASection
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
863 syntax keyword typescriptBOM containedin=typescriptIdentifierName ChannelMergerNode
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
864 syntax keyword typescriptBOM containedin=typescriptIdentifierName ChannelSplitterNode
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
865 syntax keyword typescriptBOM containedin=typescriptIdentifierName CharacterData ChildNode
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
866 syntax keyword typescriptBOM containedin=typescriptIdentifierName ChromeWorker Comment
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
867 syntax keyword typescriptBOM containedin=typescriptIdentifierName Connection Console
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
868 syntax keyword typescriptBOM containedin=typescriptIdentifierName ContactManager Contacts
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
869 syntax keyword typescriptBOM containedin=typescriptIdentifierName ConvolverNode Coordinates
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
870 syntax keyword typescriptBOM containedin=typescriptIdentifierName CSS CSSConditionRule
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
871 syntax keyword typescriptBOM containedin=typescriptIdentifierName CSSGroupingRule
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
872 syntax keyword typescriptBOM containedin=typescriptIdentifierName CSSKeyframeRule
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
873 syntax keyword typescriptBOM containedin=typescriptIdentifierName CSSKeyframesRule
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
874 syntax keyword typescriptBOM containedin=typescriptIdentifierName CSSMediaRule CSSNamespaceRule
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
875 syntax keyword typescriptBOM containedin=typescriptIdentifierName CSSPageRule CSSRule
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
876 syntax keyword typescriptBOM containedin=typescriptIdentifierName CSSRuleList CSSStyleDeclaration
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
877 syntax keyword typescriptBOM containedin=typescriptIdentifierName CSSStyleRule CSSStyleSheet
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
878 syntax keyword typescriptBOM containedin=typescriptIdentifierName CSSSupportsRule
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
879 syntax keyword typescriptBOM containedin=typescriptIdentifierName DataTransfer DataView
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
880 syntax keyword typescriptBOM containedin=typescriptIdentifierName DedicatedWorkerGlobalScope
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
881 syntax keyword typescriptBOM containedin=typescriptIdentifierName DelayNode DeviceAcceleration
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
882 syntax keyword typescriptBOM containedin=typescriptIdentifierName DeviceRotationRate
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
883 syntax keyword typescriptBOM containedin=typescriptIdentifierName DeviceStorage DirectoryEntry
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
884 syntax keyword typescriptBOM containedin=typescriptIdentifierName DirectoryEntrySync
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
885 syntax keyword typescriptBOM containedin=typescriptIdentifierName DirectoryReader
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
886 syntax keyword typescriptBOM containedin=typescriptIdentifierName DirectoryReaderSync
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
887 syntax keyword typescriptBOM containedin=typescriptIdentifierName Document DocumentFragment
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
888 syntax keyword typescriptBOM containedin=typescriptIdentifierName DocumentTouch DocumentType
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
889 syntax keyword typescriptBOM containedin=typescriptIdentifierName DOMCursor DOMError
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
890 syntax keyword typescriptBOM containedin=typescriptIdentifierName DOMException DOMHighResTimeStamp
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
891 syntax keyword typescriptBOM containedin=typescriptIdentifierName DOMImplementation
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
892 syntax keyword typescriptBOM containedin=typescriptIdentifierName DOMImplementationRegistry
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
893 syntax keyword typescriptBOM containedin=typescriptIdentifierName DOMParser DOMRequest
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
894 syntax keyword typescriptBOM containedin=typescriptIdentifierName DOMString DOMStringList
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
895 syntax keyword typescriptBOM containedin=typescriptIdentifierName DOMStringMap DOMTimeStamp
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
896 syntax keyword typescriptBOM containedin=typescriptIdentifierName DOMTokenList DynamicsCompressorNode
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
897 syntax keyword typescriptBOM containedin=typescriptIdentifierName Element Entry EntrySync
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
898 syntax keyword typescriptBOM containedin=typescriptIdentifierName Extensions FileException
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
899 syntax keyword typescriptBOM containedin=typescriptIdentifierName Float32Array Float64Array
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
900 syntax keyword typescriptBOM containedin=typescriptIdentifierName FMRadio FormData
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
901 syntax keyword typescriptBOM containedin=typescriptIdentifierName GainNode Gamepad
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
902 syntax keyword typescriptBOM containedin=typescriptIdentifierName GamepadButton Geolocation
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
903 syntax keyword typescriptBOM containedin=typescriptIdentifierName History HTMLAnchorElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
904 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLAreaElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
905 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLAudioElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
906 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLBaseElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
907 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLBodyElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
908 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLBRElement HTMLButtonElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
909 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLCanvasElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
910 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLCollection HTMLDataElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
911 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLDataListElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
912 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLDivElement HTMLDListElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
913 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLDocument HTMLElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
914 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLEmbedElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
915 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLFieldSetElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
916 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLFormControlsCollection
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
917 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLFormElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
918 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLHeadElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
919 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLHeadingElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
920 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLHRElement HTMLHtmlElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
921 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLIFrameElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
922 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLImageElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
923 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLInputElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
924 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLKeygenElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
925 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLLabelElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
926 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLLegendElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
927 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLLIElement HTMLLinkElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
928 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLMapElement HTMLMediaElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
929 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLMetaElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
930 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLMeterElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
931 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLModElement HTMLObjectElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
932 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLOListElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
933 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLOptGroupElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
934 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLOptionElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
935 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLOptionsCollection
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
936 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLOutputElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
937 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLParagraphElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
938 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLParamElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
939 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLPreElement HTMLProgressElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
940 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLQuoteElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
941 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLScriptElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
942 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLSelectElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
943 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLSourceElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
944 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLSpanElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
945 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLStyleElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
946 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLTableCaptionElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
947 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLTableCellElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
948 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLTableColElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
949 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLTableDataCellElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
950 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLTableElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
951 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLTableHeaderCellElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
952 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLTableRowElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
953 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLTableSectionElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
954 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLTextAreaElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
955 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLTimeElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
956 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLTitleElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
957 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLTrackElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
958 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLUListElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
959 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLUnknownElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
960 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLVideoElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
961 syntax keyword typescriptBOM containedin=typescriptIdentifierName IDBCursor IDBCursorSync
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
962 syntax keyword typescriptBOM containedin=typescriptIdentifierName IDBCursorWithValue
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
963 syntax keyword typescriptBOM containedin=typescriptIdentifierName IDBDatabase IDBDatabaseSync
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
964 syntax keyword typescriptBOM containedin=typescriptIdentifierName IDBEnvironment IDBEnvironmentSync
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
965 syntax keyword typescriptBOM containedin=typescriptIdentifierName IDBFactory IDBFactorySync
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
966 syntax keyword typescriptBOM containedin=typescriptIdentifierName IDBIndex IDBIndexSync
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
967 syntax keyword typescriptBOM containedin=typescriptIdentifierName IDBKeyRange IDBObjectStore
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
968 syntax keyword typescriptBOM containedin=typescriptIdentifierName IDBObjectStoreSync
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
969 syntax keyword typescriptBOM containedin=typescriptIdentifierName IDBOpenDBRequest
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
970 syntax keyword typescriptBOM containedin=typescriptIdentifierName IDBRequest IDBTransaction
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
971 syntax keyword typescriptBOM containedin=typescriptIdentifierName IDBTransactionSync
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
972 syntax keyword typescriptBOM containedin=typescriptIdentifierName IDBVersionChangeEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
973 syntax keyword typescriptBOM containedin=typescriptIdentifierName ImageData IndexedDB
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
974 syntax keyword typescriptBOM containedin=typescriptIdentifierName Int16Array Int32Array
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
975 syntax keyword typescriptBOM containedin=typescriptIdentifierName Int8Array L10n LinkStyle
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
976 syntax keyword typescriptBOM containedin=typescriptIdentifierName LocalFileSystem
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
977 syntax keyword typescriptBOM containedin=typescriptIdentifierName LocalFileSystemSync
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
978 syntax keyword typescriptBOM containedin=typescriptIdentifierName Location LockedFile
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
979 syntax keyword typescriptBOM containedin=typescriptIdentifierName MediaQueryList MediaQueryListListener
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
980 syntax keyword typescriptBOM containedin=typescriptIdentifierName MediaRecorder MediaSource
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
981 syntax keyword typescriptBOM containedin=typescriptIdentifierName MediaStream MediaStreamTrack
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
982 syntax keyword typescriptBOM containedin=typescriptIdentifierName MutationObserver
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
983 syntax keyword typescriptBOM containedin=typescriptIdentifierName Navigator NavigatorGeolocation
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
984 syntax keyword typescriptBOM containedin=typescriptIdentifierName NavigatorID NavigatorLanguage
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
985 syntax keyword typescriptBOM containedin=typescriptIdentifierName NavigatorOnLine
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
986 syntax keyword typescriptBOM containedin=typescriptIdentifierName NavigatorPlugins
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
987 syntax keyword typescriptBOM containedin=typescriptIdentifierName Node NodeFilter
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
988 syntax keyword typescriptBOM containedin=typescriptIdentifierName NodeIterator NodeList
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
989 syntax keyword typescriptBOM containedin=typescriptIdentifierName Notification OfflineAudioContext
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
990 syntax keyword typescriptBOM containedin=typescriptIdentifierName OscillatorNode PannerNode
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
991 syntax keyword typescriptBOM containedin=typescriptIdentifierName ParentNode Performance
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
992 syntax keyword typescriptBOM containedin=typescriptIdentifierName PerformanceNavigation
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
993 syntax keyword typescriptBOM containedin=typescriptIdentifierName PerformanceTiming
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
994 syntax keyword typescriptBOM containedin=typescriptIdentifierName Permissions PermissionSettings
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
995 syntax keyword typescriptBOM containedin=typescriptIdentifierName Plugin PluginArray
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
996 syntax keyword typescriptBOM containedin=typescriptIdentifierName Position PositionError
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
997 syntax keyword typescriptBOM containedin=typescriptIdentifierName PositionOptions
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
998 syntax keyword typescriptBOM containedin=typescriptIdentifierName PowerManager ProcessingInstruction
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
999 syntax keyword typescriptBOM containedin=typescriptIdentifierName PromiseResolver
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1000 syntax keyword typescriptBOM containedin=typescriptIdentifierName PushManager Range
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1001 syntax keyword typescriptBOM containedin=typescriptIdentifierName RTCConfiguration
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1002 syntax keyword typescriptBOM containedin=typescriptIdentifierName RTCPeerConnection
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1003 syntax keyword typescriptBOM containedin=typescriptIdentifierName RTCPeerConnectionErrorCallback
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1004 syntax keyword typescriptBOM containedin=typescriptIdentifierName RTCSessionDescription
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1005 syntax keyword typescriptBOM containedin=typescriptIdentifierName RTCSessionDescriptionCallback
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1006 syntax keyword typescriptBOM containedin=typescriptIdentifierName ScriptProcessorNode
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1007 syntax keyword typescriptBOM containedin=typescriptIdentifierName Selection SettingsLock
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1008 syntax keyword typescriptBOM containedin=typescriptIdentifierName SettingsManager
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1009 syntax keyword typescriptBOM containedin=typescriptIdentifierName SharedWorker StyleSheet
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1010 syntax keyword typescriptBOM containedin=typescriptIdentifierName StyleSheetList SVGAElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1011 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGAngle SVGAnimateColorElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1012 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGAnimatedAngle
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1013 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGAnimatedBoolean
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1014 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGAnimatedEnumeration
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1015 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGAnimatedInteger
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1016 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGAnimatedLength
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1017 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGAnimatedLengthList
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1018 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGAnimatedNumber
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1019 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGAnimatedNumberList
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1020 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGAnimatedPoints
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1021 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGAnimatedPreserveAspectRatio
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1022 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGAnimatedRect
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1023 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGAnimatedString
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1024 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGAnimatedTransformList
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1025 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGAnimateElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1026 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGAnimateMotionElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1027 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGAnimateTransformElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1028 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGAnimationElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1029 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGCircleElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1030 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGClipPathElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1031 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGCursorElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1032 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGDefsElement SVGDescElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1033 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGElement SVGEllipseElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1034 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGFilterElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1035 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGFontElement SVGFontFaceElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1036 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGFontFaceFormatElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1037 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGFontFaceNameElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1038 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGFontFaceSrcElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1039 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGFontFaceUriElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1040 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGForeignObjectElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1041 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGGElement SVGGlyphElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1042 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGGradientElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1043 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGHKernElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1044 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGImageElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1045 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGLength SVGLengthList
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1046 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGLinearGradientElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1047 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGLineElement SVGMaskElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1048 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGMatrix SVGMissingGlyphElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1049 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGMPathElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1050 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGNumber SVGNumberList
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1051 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGPathElement SVGPatternElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1052 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGPoint SVGPolygonElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1053 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGPolylineElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1054 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGPreserveAspectRatio
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1055 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGRadialGradientElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1056 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGRect SVGRectElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1057 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGScriptElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1058 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGSetElement SVGStopElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1059 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGStringList SVGStylable
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1060 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGStyleElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1061 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGSVGElement SVGSwitchElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1062 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGSymbolElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1063 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGTests SVGTextElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1064 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGTextPositioningElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1065 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGTitleElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1066 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGTransform SVGTransformable
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1067 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGTransformList
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1068 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGTRefElement SVGTSpanElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1069 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGUseElement SVGViewElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1070 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGVKernElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1071 syntax keyword typescriptBOM containedin=typescriptIdentifierName TCPServerSocket
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1072 syntax keyword typescriptBOM containedin=typescriptIdentifierName TCPSocket Telephony
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1073 syntax keyword typescriptBOM containedin=typescriptIdentifierName TelephonyCall Text
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1074 syntax keyword typescriptBOM containedin=typescriptIdentifierName TextDecoder TextEncoder
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1075 syntax keyword typescriptBOM containedin=typescriptIdentifierName TextMetrics TimeRanges
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1076 syntax keyword typescriptBOM containedin=typescriptIdentifierName Touch TouchList
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1077 syntax keyword typescriptBOM containedin=typescriptIdentifierName Transferable TreeWalker
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1078 syntax keyword typescriptBOM containedin=typescriptIdentifierName Uint16Array Uint32Array
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1079 syntax keyword typescriptBOM containedin=typescriptIdentifierName Uint8Array Uint8ClampedArray
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1080 syntax keyword typescriptBOM containedin=typescriptIdentifierName URLSearchParams
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1081 syntax keyword typescriptBOM containedin=typescriptIdentifierName URLUtilsReadOnly
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1082 syntax keyword typescriptBOM containedin=typescriptIdentifierName UserProximityEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1083 syntax keyword typescriptBOM containedin=typescriptIdentifierName ValidityState VideoPlaybackQuality
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1084 syntax keyword typescriptBOM containedin=typescriptIdentifierName WaveShaperNode WebBluetooth
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1085 syntax keyword typescriptBOM containedin=typescriptIdentifierName WebGLRenderingContext
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1086 syntax keyword typescriptBOM containedin=typescriptIdentifierName WebSMS WebSocket
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1087 syntax keyword typescriptBOM containedin=typescriptIdentifierName WebVTT WifiManager
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1088 syntax keyword typescriptBOM containedin=typescriptIdentifierName Window Worker WorkerConsole
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1089 syntax keyword typescriptBOM containedin=typescriptIdentifierName WorkerLocation WorkerNavigator
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1090 syntax keyword typescriptBOM containedin=typescriptIdentifierName XDomainRequest XMLDocument
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1091 syntax keyword typescriptBOM containedin=typescriptIdentifierName XMLHttpRequestEventTarget
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1092 hi def link typescriptBOM Structure
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1093
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1094 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName applicationCache
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1095 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName closed
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1096 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName Components
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1097 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName controllers
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1098 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName dialogArguments
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1099 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName document
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1100 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName frameElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1101 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName frames
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1102 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName fullScreen
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1103 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName history
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1104 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName innerHeight
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1105 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName innerWidth
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1106 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName length
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1107 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName location
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1108 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName locationbar
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1109 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName menubar
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1110 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName messageManager
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1111 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName name navigator
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1112 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName opener
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1113 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName outerHeight
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1114 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName outerWidth
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1115 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName pageXOffset
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1116 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName pageYOffset
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1117 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName parent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1118 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName performance
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1119 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName personalbar
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1120 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName returnValue
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1121 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName screen
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1122 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName screenX
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1123 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName screenY
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1124 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName scrollbars
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1125 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName scrollMaxX
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1126 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName scrollMaxY
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1127 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName scrollX
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1128 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName scrollY
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1129 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName self sidebar
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1130 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName status
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1131 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName statusbar
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1132 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName toolbar
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1133 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName top visualViewport
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1134 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName window
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1135 syntax cluster props add=typescriptBOMWindowProp
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1136 hi def link typescriptBOMWindowProp Structure
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1137 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName alert nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1138 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName atob nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1139 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName blur nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1140 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName btoa nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1141 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName clearImmediate nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1142 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName clearInterval nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1143 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName clearTimeout nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1144 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName close nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1145 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName confirm nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1146 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName dispatchEvent nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1147 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName find nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1148 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName focus nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1149 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName getAttention nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1150 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName getAttentionWithCycleCount nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1151 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName getComputedStyle nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1152 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName getDefaulComputedStyle nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1153 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName getSelection nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1154 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName matchMedia nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1155 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName maximize nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1156 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName moveBy nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1157 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName moveTo nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1158 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName open nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1159 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName openDialog nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1160 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName postMessage nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1161 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName print nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1162 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName prompt nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1163 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName removeEventListener nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1164 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName resizeBy nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1165 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName resizeTo nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1166 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName restore nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1167 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName scroll nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1168 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName scrollBy nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1169 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName scrollByLines nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1170 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName scrollByPages nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1171 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName scrollTo nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1172 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName setCursor nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1173 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName setImmediate nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1174 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName setInterval nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1175 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName setResizable nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1176 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName setTimeout nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1177 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName showModalDialog nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1178 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName sizeToContent nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1179 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName stop nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1180 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName updateCommands nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1181 syntax cluster props add=typescriptBOMWindowMethod
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1182 hi def link typescriptBOMWindowMethod Structure
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1183 syntax keyword typescriptBOMWindowEvent contained onabort onbeforeunload onblur onchange
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1184 syntax keyword typescriptBOMWindowEvent contained onclick onclose oncontextmenu ondevicelight
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1185 syntax keyword typescriptBOMWindowEvent contained ondevicemotion ondeviceorientation
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1186 syntax keyword typescriptBOMWindowEvent contained ondeviceproximity ondragdrop onerror
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1187 syntax keyword typescriptBOMWindowEvent contained onfocus onhashchange onkeydown onkeypress
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1188 syntax keyword typescriptBOMWindowEvent contained onkeyup onload onmousedown onmousemove
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1189 syntax keyword typescriptBOMWindowEvent contained onmouseout onmouseover onmouseup
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1190 syntax keyword typescriptBOMWindowEvent contained onmozbeforepaint onpaint onpopstate
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1191 syntax keyword typescriptBOMWindowEvent contained onreset onresize onscroll onselect
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1192 syntax keyword typescriptBOMWindowEvent contained onsubmit onunload onuserproximity
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1193 syntax keyword typescriptBOMWindowEvent contained onpageshow onpagehide
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1194 hi def link typescriptBOMWindowEvent Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1195 syntax keyword typescriptBOMWindowCons containedin=typescriptIdentifierName DOMParser
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1196 syntax keyword typescriptBOMWindowCons containedin=typescriptIdentifierName QueryInterface
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1197 syntax keyword typescriptBOMWindowCons containedin=typescriptIdentifierName XMLSerializer
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1198 hi def link typescriptBOMWindowCons Structure
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1199
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1200 syntax keyword typescriptBOMNavigatorProp contained battery buildID connection cookieEnabled
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1201 syntax keyword typescriptBOMNavigatorProp contained doNotTrack maxTouchPoints oscpu
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1202 syntax keyword typescriptBOMNavigatorProp contained productSub push serviceWorker
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1203 syntax keyword typescriptBOMNavigatorProp contained vendor vendorSub
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1204 syntax cluster props add=typescriptBOMNavigatorProp
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1205 hi def link typescriptBOMNavigatorProp Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1206 syntax keyword typescriptBOMNavigatorMethod contained addIdleObserver geolocation nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1207 syntax keyword typescriptBOMNavigatorMethod contained getDeviceStorage getDeviceStorages nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1208 syntax keyword typescriptBOMNavigatorMethod contained getGamepads getUserMedia registerContentHandler nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1209 syntax keyword typescriptBOMNavigatorMethod contained removeIdleObserver requestWakeLock nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1210 syntax keyword typescriptBOMNavigatorMethod contained share vibrate watch registerProtocolHandler nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1211 syntax keyword typescriptBOMNavigatorMethod contained sendBeacon nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1212 syntax cluster props add=typescriptBOMNavigatorMethod
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1213 hi def link typescriptBOMNavigatorMethod Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1214 syntax keyword typescriptServiceWorkerMethod contained register nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1215 syntax cluster props add=typescriptServiceWorkerMethod
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1216 hi def link typescriptServiceWorkerMethod Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1217
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1218 syntax keyword typescriptBOMLocationProp contained href protocol host hostname port
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1219 syntax keyword typescriptBOMLocationProp contained pathname search hash username password
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1220 syntax keyword typescriptBOMLocationProp contained origin
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1221 syntax cluster props add=typescriptBOMLocationProp
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1222 hi def link typescriptBOMLocationProp Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1223 syntax keyword typescriptBOMLocationMethod contained assign reload replace toString nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1224 syntax cluster props add=typescriptBOMLocationMethod
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1225 hi def link typescriptBOMLocationMethod Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1226
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1227 syntax keyword typescriptBOMHistoryProp contained length current next previous state
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1228 syntax keyword typescriptBOMHistoryProp contained scrollRestoration
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1229 syntax cluster props add=typescriptBOMHistoryProp
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1230 hi def link typescriptBOMHistoryProp Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1231 syntax keyword typescriptBOMHistoryMethod contained back forward go pushState replaceState nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1232 syntax cluster props add=typescriptBOMHistoryMethod
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1233 hi def link typescriptBOMHistoryMethod Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1234
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1235 syntax keyword typescriptGlobal containedin=typescriptIdentifierName console
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1236 syntax keyword typescriptConsoleMethod contained count dir error group groupCollapsed nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1237 syntax keyword typescriptConsoleMethod contained groupEnd info log time timeEnd trace nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1238 syntax keyword typescriptConsoleMethod contained warn nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1239 syntax cluster props add=typescriptConsoleMethod
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1240 hi def link typescriptConsoleMethod Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1241
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1242 syntax keyword typescriptXHRGlobal containedin=typescriptIdentifierName XMLHttpRequest
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1243 hi def link typescriptXHRGlobal Structure
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1244 syntax keyword typescriptXHRProp contained onreadystatechange readyState response
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1245 syntax keyword typescriptXHRProp contained responseText responseType responseXML status
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1246 syntax keyword typescriptXHRProp contained statusText timeout ontimeout upload withCredentials
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1247 syntax cluster props add=typescriptXHRProp
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1248 hi def link typescriptXHRProp Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1249 syntax keyword typescriptXHRMethod contained abort getAllResponseHeaders getResponseHeader nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1250 syntax keyword typescriptXHRMethod contained open overrideMimeType send setRequestHeader nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1251 syntax cluster props add=typescriptXHRMethod
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1252 hi def link typescriptXHRMethod Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1253
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1254 syntax keyword typescriptGlobal containedin=typescriptIdentifierName Blob BlobBuilder
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1255 syntax keyword typescriptGlobal containedin=typescriptIdentifierName File FileReader
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1256 syntax keyword typescriptGlobal containedin=typescriptIdentifierName FileReaderSync
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1257 syntax keyword typescriptGlobal containedin=typescriptIdentifierName URL nextgroup=typescriptGlobalURLDot,typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1258 syntax match typescriptGlobalURLDot /\./ contained nextgroup=typescriptURLStaticMethod,typescriptProp
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1259 syntax keyword typescriptGlobal containedin=typescriptIdentifierName URLUtils
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1260 syntax keyword typescriptFileMethod contained readAsArrayBuffer readAsBinaryString nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1261 syntax keyword typescriptFileMethod contained readAsDataURL readAsText nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1262 syntax cluster props add=typescriptFileMethod
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1263 hi def link typescriptFileMethod Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1264 syntax keyword typescriptFileReaderProp contained error readyState result
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1265 syntax cluster props add=typescriptFileReaderProp
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1266 hi def link typescriptFileReaderProp Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1267 syntax keyword typescriptFileReaderMethod contained abort readAsArrayBuffer readAsBinaryString nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1268 syntax keyword typescriptFileReaderMethod contained readAsDataURL readAsText nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1269 syntax cluster props add=typescriptFileReaderMethod
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1270 hi def link typescriptFileReaderMethod Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1271 syntax keyword typescriptFileListMethod contained item nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1272 syntax cluster props add=typescriptFileListMethod
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1273 hi def link typescriptFileListMethod Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1274 syntax keyword typescriptBlobMethod contained append getBlob getFile nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1275 syntax cluster props add=typescriptBlobMethod
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1276 hi def link typescriptBlobMethod Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1277 syntax keyword typescriptURLUtilsProp contained hash host hostname href origin password
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1278 syntax keyword typescriptURLUtilsProp contained pathname port protocol search searchParams
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1279 syntax keyword typescriptURLUtilsProp contained username
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1280 syntax cluster props add=typescriptURLUtilsProp
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1281 hi def link typescriptURLUtilsProp Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1282 syntax keyword typescriptURLStaticMethod contained createObjectURL revokeObjectURL nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1283 hi def link typescriptURLStaticMethod Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1284
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1285 syntax keyword typescriptCryptoGlobal containedin=typescriptIdentifierName crypto
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1286 hi def link typescriptCryptoGlobal Structure
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1287 syntax keyword typescriptSubtleCryptoMethod contained encrypt decrypt sign verify nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1288 syntax keyword typescriptSubtleCryptoMethod contained digest nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1289 syntax cluster props add=typescriptSubtleCryptoMethod
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1290 hi def link typescriptSubtleCryptoMethod Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1291 syntax keyword typescriptCryptoProp contained subtle
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1292 syntax cluster props add=typescriptCryptoProp
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1293 hi def link typescriptCryptoProp Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1294 syntax keyword typescriptCryptoMethod contained getRandomValues nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1295 syntax cluster props add=typescriptCryptoMethod
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1296 hi def link typescriptCryptoMethod Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1297
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1298 syntax keyword typescriptGlobal containedin=typescriptIdentifierName Headers Request
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1299 syntax keyword typescriptGlobal containedin=typescriptIdentifierName Response
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1300 syntax keyword typescriptGlobalMethod containedin=typescriptIdentifierName fetch nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1301 syntax cluster props add=typescriptGlobalMethod
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1302 hi def link typescriptGlobalMethod Structure
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1303 syntax keyword typescriptHeadersMethod contained append delete get getAll has set nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1304 syntax cluster props add=typescriptHeadersMethod
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1305 hi def link typescriptHeadersMethod Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1306 syntax keyword typescriptRequestProp contained method url headers context referrer
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1307 syntax keyword typescriptRequestProp contained mode credentials cache
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1308 syntax cluster props add=typescriptRequestProp
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1309 hi def link typescriptRequestProp Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1310 syntax keyword typescriptRequestMethod contained clone nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1311 syntax cluster props add=typescriptRequestMethod
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1312 hi def link typescriptRequestMethod Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1313 syntax keyword typescriptResponseProp contained type url status statusText headers
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1314 syntax keyword typescriptResponseProp contained redirected
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1315 syntax cluster props add=typescriptResponseProp
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1316 hi def link typescriptResponseProp Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1317 syntax keyword typescriptResponseMethod contained clone nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1318 syntax cluster props add=typescriptResponseMethod
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1319 hi def link typescriptResponseMethod Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1320
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1321 syntax keyword typescriptServiceWorkerProp contained controller ready
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1322 syntax cluster props add=typescriptServiceWorkerProp
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1323 hi def link typescriptServiceWorkerProp Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1324 syntax keyword typescriptServiceWorkerMethod contained register getRegistration nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1325 syntax cluster props add=typescriptServiceWorkerMethod
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1326 hi def link typescriptServiceWorkerMethod Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1327 syntax keyword typescriptGlobal containedin=typescriptIdentifierName Cache
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1328 syntax keyword typescriptCacheMethod contained match matchAll add addAll put delete nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1329 syntax keyword typescriptCacheMethod contained keys nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1330 syntax cluster props add=typescriptCacheMethod
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1331 hi def link typescriptCacheMethod Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1332
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1333 syntax keyword typescriptEncodingGlobal containedin=typescriptIdentifierName TextEncoder
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1334 syntax keyword typescriptEncodingGlobal containedin=typescriptIdentifierName TextDecoder
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1335 hi def link typescriptEncodingGlobal Structure
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1336 syntax keyword typescriptEncodingProp contained encoding fatal ignoreBOM
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1337 syntax cluster props add=typescriptEncodingProp
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1338 hi def link typescriptEncodingProp Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1339 syntax keyword typescriptEncodingMethod contained encode decode nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1340 syntax cluster props add=typescriptEncodingMethod
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1341 hi def link typescriptEncodingMethod Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1342
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1343 syntax keyword typescriptGlobal containedin=typescriptIdentifierName Geolocation
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1344 syntax keyword typescriptGeolocationMethod contained getCurrentPosition watchPosition nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1345 syntax keyword typescriptGeolocationMethod contained clearWatch nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1346 syntax cluster props add=typescriptGeolocationMethod
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1347 hi def link typescriptGeolocationMethod Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1348
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1349 syntax keyword typescriptGlobal containedin=typescriptIdentifierName NetworkInformation
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1350 syntax keyword typescriptBOMNetworkProp contained downlink downlinkMax effectiveType
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1351 syntax keyword typescriptBOMNetworkProp contained rtt type
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1352 syntax cluster props add=typescriptBOMNetworkProp
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1353 hi def link typescriptBOMNetworkProp Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1354
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1355 syntax keyword typescriptGlobal containedin=typescriptIdentifierName PaymentRequest
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1356 syntax keyword typescriptPaymentMethod contained show abort canMakePayment nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1357 syntax cluster props add=typescriptPaymentMethod
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1358 hi def link typescriptPaymentMethod Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1359 syntax keyword typescriptPaymentProp contained shippingAddress shippingOption result
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1360 syntax cluster props add=typescriptPaymentProp
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1361 hi def link typescriptPaymentProp Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1362 syntax keyword typescriptPaymentEvent contained onshippingaddresschange onshippingoptionchange
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1363 hi def link typescriptPaymentEvent Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1364 syntax keyword typescriptPaymentResponseMethod contained complete nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1365 syntax cluster props add=typescriptPaymentResponseMethod
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1366 hi def link typescriptPaymentResponseMethod Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1367 syntax keyword typescriptPaymentResponseProp contained details methodName payerEmail
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1368 syntax keyword typescriptPaymentResponseProp contained payerPhone shippingAddress
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1369 syntax keyword typescriptPaymentResponseProp contained shippingOption
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1370 syntax cluster props add=typescriptPaymentResponseProp
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1371 hi def link typescriptPaymentResponseProp Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1372 syntax keyword typescriptPaymentAddressProp contained addressLine careOf city country
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1373 syntax keyword typescriptPaymentAddressProp contained country dependentLocality languageCode
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1374 syntax keyword typescriptPaymentAddressProp contained organization phone postalCode
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1375 syntax keyword typescriptPaymentAddressProp contained recipient region sortingCode
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1376 syntax cluster props add=typescriptPaymentAddressProp
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1377 hi def link typescriptPaymentAddressProp Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1378 syntax keyword typescriptPaymentShippingOptionProp contained id label amount selected
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1379 syntax cluster props add=typescriptPaymentShippingOptionProp
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1380 hi def link typescriptPaymentShippingOptionProp Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1381
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1382 syntax keyword typescriptDOMNodeProp contained attributes baseURI baseURIObject childNodes
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1383 syntax keyword typescriptDOMNodeProp contained firstChild lastChild localName namespaceURI
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1384 syntax keyword typescriptDOMNodeProp contained nextSibling nodeName nodePrincipal
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1385 syntax keyword typescriptDOMNodeProp contained nodeType nodeValue ownerDocument parentElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1386 syntax keyword typescriptDOMNodeProp contained parentNode prefix previousSibling textContent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1387 syntax cluster props add=typescriptDOMNodeProp
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1388 hi def link typescriptDOMNodeProp Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1389 syntax keyword typescriptDOMNodeMethod contained appendChild cloneNode compareDocumentPosition nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1390 syntax keyword typescriptDOMNodeMethod contained getUserData hasAttributes hasChildNodes nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1391 syntax keyword typescriptDOMNodeMethod contained insertBefore isDefaultNamespace isEqualNode nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1392 syntax keyword typescriptDOMNodeMethod contained isSameNode isSupported lookupNamespaceURI nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1393 syntax keyword typescriptDOMNodeMethod contained lookupPrefix normalize removeChild nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1394 syntax keyword typescriptDOMNodeMethod contained replaceChild setUserData nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1395 syntax match typescriptDOMNodeMethod contained /contains/
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1396 syntax cluster props add=typescriptDOMNodeMethod
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1397 hi def link typescriptDOMNodeMethod Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1398 syntax keyword typescriptDOMNodeType contained ELEMENT_NODE ATTRIBUTE_NODE TEXT_NODE
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1399 syntax keyword typescriptDOMNodeType contained CDATA_SECTION_NODEN_NODE ENTITY_REFERENCE_NODE
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1400 syntax keyword typescriptDOMNodeType contained ENTITY_NODE PROCESSING_INSTRUCTION_NODEN_NODE
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1401 syntax keyword typescriptDOMNodeType contained COMMENT_NODE DOCUMENT_NODE DOCUMENT_TYPE_NODE
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1402 syntax keyword typescriptDOMNodeType contained DOCUMENT_FRAGMENT_NODE NOTATION_NODE
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1403 hi def link typescriptDOMNodeType Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1404
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1405 syntax keyword typescriptDOMElemAttrs contained accessKey clientHeight clientLeft
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1406 syntax keyword typescriptDOMElemAttrs contained clientTop clientWidth id innerHTML
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1407 syntax keyword typescriptDOMElemAttrs contained length onafterscriptexecute onbeforescriptexecute
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1408 syntax keyword typescriptDOMElemAttrs contained oncopy oncut onpaste onwheel scrollHeight
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1409 syntax keyword typescriptDOMElemAttrs contained scrollLeft scrollTop scrollWidth tagName
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1410 syntax keyword typescriptDOMElemAttrs contained classList className name outerHTML
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1411 syntax keyword typescriptDOMElemAttrs contained style
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1412 hi def link typescriptDOMElemAttrs Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1413 syntax keyword typescriptDOMElemFuncs contained getAttributeNS getAttributeNode getAttributeNodeNS
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1414 syntax keyword typescriptDOMElemFuncs contained getBoundingClientRect getClientRects
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1415 syntax keyword typescriptDOMElemFuncs contained getElementsByClassName getElementsByTagName
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1416 syntax keyword typescriptDOMElemFuncs contained getElementsByTagNameNS hasAttribute
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1417 syntax keyword typescriptDOMElemFuncs contained hasAttributeNS insertAdjacentHTML
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1418 syntax keyword typescriptDOMElemFuncs contained matches querySelector querySelectorAll
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1419 syntax keyword typescriptDOMElemFuncs contained removeAttribute removeAttributeNS
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1420 syntax keyword typescriptDOMElemFuncs contained removeAttributeNode requestFullscreen
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1421 syntax keyword typescriptDOMElemFuncs contained requestPointerLock scrollIntoView
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1422 syntax keyword typescriptDOMElemFuncs contained setAttribute setAttributeNS setAttributeNode
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1423 syntax keyword typescriptDOMElemFuncs contained setAttributeNodeNS setCapture supports
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1424 syntax keyword typescriptDOMElemFuncs contained getAttribute
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1425 hi def link typescriptDOMElemFuncs Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1426
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1427 syntax keyword typescriptDOMDocProp contained activeElement body cookie defaultView
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1428 syntax keyword typescriptDOMDocProp contained designMode dir domain embeds forms head
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1429 syntax keyword typescriptDOMDocProp contained images lastModified links location plugins
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1430 syntax keyword typescriptDOMDocProp contained postMessage readyState referrer registerElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1431 syntax keyword typescriptDOMDocProp contained scripts styleSheets title vlinkColor
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1432 syntax keyword typescriptDOMDocProp contained xmlEncoding characterSet compatMode
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1433 syntax keyword typescriptDOMDocProp contained contentType currentScript doctype documentElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1434 syntax keyword typescriptDOMDocProp contained documentURI documentURIObject firstChild
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1435 syntax keyword typescriptDOMDocProp contained implementation lastStyleSheetSet namespaceURI
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1436 syntax keyword typescriptDOMDocProp contained nodePrincipal ononline pointerLockElement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1437 syntax keyword typescriptDOMDocProp contained popupNode preferredStyleSheetSet selectedStyleSheetSet
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1438 syntax keyword typescriptDOMDocProp contained styleSheetSets textContent tooltipNode
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1439 syntax cluster props add=typescriptDOMDocProp
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1440 hi def link typescriptDOMDocProp Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1441 syntax keyword typescriptDOMDocMethod contained caretPositionFromPoint close createNodeIterator nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1442 syntax keyword typescriptDOMDocMethod contained createRange createTreeWalker elementFromPoint nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1443 syntax keyword typescriptDOMDocMethod contained getElementsByName adoptNode createAttribute nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1444 syntax keyword typescriptDOMDocMethod contained createCDATASection createComment createDocumentFragment nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1445 syntax keyword typescriptDOMDocMethod contained createElement createElementNS createEvent nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1446 syntax keyword typescriptDOMDocMethod contained createExpression createNSResolver nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1447 syntax keyword typescriptDOMDocMethod contained createProcessingInstruction createTextNode nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1448 syntax keyword typescriptDOMDocMethod contained enableStyleSheetsForSet evaluate execCommand nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1449 syntax keyword typescriptDOMDocMethod contained exitPointerLock getBoxObjectFor getElementById nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1450 syntax keyword typescriptDOMDocMethod contained getElementsByClassName getElementsByTagName nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1451 syntax keyword typescriptDOMDocMethod contained getElementsByTagNameNS getSelection nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1452 syntax keyword typescriptDOMDocMethod contained hasFocus importNode loadOverlay open nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1453 syntax keyword typescriptDOMDocMethod contained queryCommandSupported querySelector nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1454 syntax keyword typescriptDOMDocMethod contained querySelectorAll write writeln nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1455 syntax cluster props add=typescriptDOMDocMethod
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1456 hi def link typescriptDOMDocMethod Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1457
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1458 syntax keyword typescriptDOMEventTargetMethod contained addEventListener removeEventListener nextgroup=typescriptEventFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1459 syntax keyword typescriptDOMEventTargetMethod contained dispatchEvent waitUntil nextgroup=typescriptEventFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1460 syntax cluster props add=typescriptDOMEventTargetMethod
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1461 hi def link typescriptDOMEventTargetMethod Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1462 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName AnimationEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1463 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName AudioProcessingEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1464 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName BeforeInputEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1465 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName BeforeUnloadEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1466 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName BlobEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1467 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName ClipboardEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1468 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName CloseEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1469 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName CompositionEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1470 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName CSSFontFaceLoadEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1471 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName CustomEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1472 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName DeviceLightEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1473 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName DeviceMotionEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1474 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName DeviceOrientationEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1475 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName DeviceProximityEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1476 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName DOMTransactionEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1477 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName DragEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1478 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName EditingBeforeInputEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1479 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName ErrorEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1480 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName FocusEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1481 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName GamepadEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1482 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName HashChangeEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1483 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName IDBVersionChangeEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1484 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName KeyboardEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1485 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName MediaStreamEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1486 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName MessageEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1487 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName MouseEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1488 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName MutationEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1489 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName OfflineAudioCompletionEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1490 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName PageTransitionEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1491 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName PointerEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1492 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName PopStateEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1493 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName ProgressEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1494 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName RelatedEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1495 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName RTCPeerConnectionIceEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1496 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName SensorEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1497 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName StorageEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1498 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName SVGEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1499 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName SVGZoomEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1500 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName TimeEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1501 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName TouchEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1502 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName TrackEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1503 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName TransitionEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1504 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName UIEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1505 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName UserProximityEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1506 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName WheelEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1507 hi def link typescriptDOMEventCons Structure
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1508 syntax keyword typescriptDOMEventProp contained bubbles cancelable currentTarget defaultPrevented
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1509 syntax keyword typescriptDOMEventProp contained eventPhase target timeStamp type isTrusted
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1510 syntax keyword typescriptDOMEventProp contained isReload
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1511 syntax cluster props add=typescriptDOMEventProp
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1512 hi def link typescriptDOMEventProp Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1513 syntax keyword typescriptDOMEventMethod contained initEvent preventDefault stopImmediatePropagation nextgroup=typescriptEventFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1514 syntax keyword typescriptDOMEventMethod contained stopPropagation respondWith default nextgroup=typescriptEventFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1515 syntax cluster props add=typescriptDOMEventMethod
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1516 hi def link typescriptDOMEventMethod Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1517
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1518 syntax keyword typescriptDOMStorage contained sessionStorage localStorage
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1519 hi def link typescriptDOMStorage Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1520 syntax keyword typescriptDOMStorageProp contained length
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1521 syntax cluster props add=typescriptDOMStorageProp
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1522 hi def link typescriptDOMStorageProp Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1523 syntax keyword typescriptDOMStorageMethod contained getItem key setItem removeItem nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1524 syntax keyword typescriptDOMStorageMethod contained clear nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1525 syntax cluster props add=typescriptDOMStorageMethod
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1526 hi def link typescriptDOMStorageMethod Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1527
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1528 syntax keyword typescriptDOMFormProp contained acceptCharset action elements encoding
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1529 syntax keyword typescriptDOMFormProp contained enctype length method name target
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1530 syntax cluster props add=typescriptDOMFormProp
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1531 hi def link typescriptDOMFormProp Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1532 syntax keyword typescriptDOMFormMethod contained reportValidity reset submit nextgroup=typescriptFuncCallArg
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1533 syntax cluster props add=typescriptDOMFormMethod
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1534 hi def link typescriptDOMFormMethod Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1535
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1536 syntax keyword typescriptDOMStyle contained alignContent alignItems alignSelf animation
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1537 syntax keyword typescriptDOMStyle contained animationDelay animationDirection animationDuration
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1538 syntax keyword typescriptDOMStyle contained animationFillMode animationIterationCount
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1539 syntax keyword typescriptDOMStyle contained animationName animationPlayState animationTimingFunction
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1540 syntax keyword typescriptDOMStyle contained appearance backfaceVisibility background
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1541 syntax keyword typescriptDOMStyle contained backgroundAttachment backgroundBlendMode
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1542 syntax keyword typescriptDOMStyle contained backgroundClip backgroundColor backgroundImage
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1543 syntax keyword typescriptDOMStyle contained backgroundOrigin backgroundPosition backgroundRepeat
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1544 syntax keyword typescriptDOMStyle contained backgroundSize border borderBottom borderBottomColor
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1545 syntax keyword typescriptDOMStyle contained borderBottomLeftRadius borderBottomRightRadius
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1546 syntax keyword typescriptDOMStyle contained borderBottomStyle borderBottomWidth borderCollapse
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1547 syntax keyword typescriptDOMStyle contained borderColor borderImage borderImageOutset
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1548 syntax keyword typescriptDOMStyle contained borderImageRepeat borderImageSlice borderImageSource
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1549 syntax keyword typescriptDOMStyle contained borderImageWidth borderLeft borderLeftColor
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1550 syntax keyword typescriptDOMStyle contained borderLeftStyle borderLeftWidth borderRadius
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1551 syntax keyword typescriptDOMStyle contained borderRight borderRightColor borderRightStyle
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1552 syntax keyword typescriptDOMStyle contained borderRightWidth borderSpacing borderStyle
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1553 syntax keyword typescriptDOMStyle contained borderTop borderTopColor borderTopLeftRadius
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1554 syntax keyword typescriptDOMStyle contained borderTopRightRadius borderTopStyle borderTopWidth
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1555 syntax keyword typescriptDOMStyle contained borderWidth bottom boxDecorationBreak
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1556 syntax keyword typescriptDOMStyle contained boxShadow boxSizing breakAfter breakBefore
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1557 syntax keyword typescriptDOMStyle contained breakInside captionSide caretColor caretShape
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1558 syntax keyword typescriptDOMStyle contained caret clear clip clipPath color columns
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1559 syntax keyword typescriptDOMStyle contained columnCount columnFill columnGap columnRule
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1560 syntax keyword typescriptDOMStyle contained columnRuleColor columnRuleStyle columnRuleWidth
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1561 syntax keyword typescriptDOMStyle contained columnSpan columnWidth content counterIncrement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1562 syntax keyword typescriptDOMStyle contained counterReset cursor direction display
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1563 syntax keyword typescriptDOMStyle contained emptyCells flex flexBasis flexDirection
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1564 syntax keyword typescriptDOMStyle contained flexFlow flexGrow flexShrink flexWrap
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1565 syntax keyword typescriptDOMStyle contained float font fontFamily fontFeatureSettings
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1566 syntax keyword typescriptDOMStyle contained fontKerning fontLanguageOverride fontSize
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1567 syntax keyword typescriptDOMStyle contained fontSizeAdjust fontStretch fontStyle fontSynthesis
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1568 syntax keyword typescriptDOMStyle contained fontVariant fontVariantAlternates fontVariantCaps
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1569 syntax keyword typescriptDOMStyle contained fontVariantEastAsian fontVariantLigatures
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1570 syntax keyword typescriptDOMStyle contained fontVariantNumeric fontVariantPosition
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1571 syntax keyword typescriptDOMStyle contained fontWeight grad grid gridArea gridAutoColumns
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1572 syntax keyword typescriptDOMStyle contained gridAutoFlow gridAutoPosition gridAutoRows
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1573 syntax keyword typescriptDOMStyle contained gridColumn gridColumnStart gridColumnEnd
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1574 syntax keyword typescriptDOMStyle contained gridRow gridRowStart gridRowEnd gridTemplate
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1575 syntax keyword typescriptDOMStyle contained gridTemplateAreas gridTemplateRows gridTemplateColumns
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1576 syntax keyword typescriptDOMStyle contained height hyphens imageRendering imageResolution
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1577 syntax keyword typescriptDOMStyle contained imageOrientation imeMode inherit justifyContent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1578 syntax keyword typescriptDOMStyle contained left letterSpacing lineBreak lineHeight
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1579 syntax keyword typescriptDOMStyle contained listStyle listStyleImage listStylePosition
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1580 syntax keyword typescriptDOMStyle contained listStyleType margin marginBottom marginLeft
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1581 syntax keyword typescriptDOMStyle contained marginRight marginTop marks mask maskType
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1582 syntax keyword typescriptDOMStyle contained maxHeight maxWidth minHeight minWidth
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1583 syntax keyword typescriptDOMStyle contained mixBlendMode objectFit objectPosition
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1584 syntax keyword typescriptDOMStyle contained opacity order orphans outline outlineColor
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1585 syntax keyword typescriptDOMStyle contained outlineOffset outlineStyle outlineWidth
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1586 syntax keyword typescriptDOMStyle contained overflow overflowWrap overflowX overflowY
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1587 syntax keyword typescriptDOMStyle contained overflowClipBox padding paddingBottom
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1588 syntax keyword typescriptDOMStyle contained paddingLeft paddingRight paddingTop pageBreakAfter
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1589 syntax keyword typescriptDOMStyle contained pageBreakBefore pageBreakInside perspective
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1590 syntax keyword typescriptDOMStyle contained perspectiveOrigin pointerEvents position
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1591 syntax keyword typescriptDOMStyle contained quotes resize right shapeImageThreshold
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1592 syntax keyword typescriptDOMStyle contained shapeMargin shapeOutside tableLayout tabSize
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1593 syntax keyword typescriptDOMStyle contained textAlign textAlignLast textCombineHorizontal
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1594 syntax keyword typescriptDOMStyle contained textDecoration textDecorationColor textDecorationLine
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1595 syntax keyword typescriptDOMStyle contained textDecorationStyle textIndent textOrientation
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1596 syntax keyword typescriptDOMStyle contained textOverflow textRendering textShadow
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1597 syntax keyword typescriptDOMStyle contained textTransform textUnderlinePosition top
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1598 syntax keyword typescriptDOMStyle contained touchAction transform transformOrigin
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1599 syntax keyword typescriptDOMStyle contained transformStyle transition transitionDelay
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1600 syntax keyword typescriptDOMStyle contained transitionDuration transitionProperty
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1601 syntax keyword typescriptDOMStyle contained transitionTimingFunction unicodeBidi unicodeRange
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1602 syntax keyword typescriptDOMStyle contained userSelect userZoom verticalAlign visibility
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1603 syntax keyword typescriptDOMStyle contained whiteSpace width willChange wordBreak
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1604 syntax keyword typescriptDOMStyle contained wordSpacing wordWrap writingMode zIndex
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1605 hi def link typescriptDOMStyle Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1606
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1607
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1608
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1609 let typescript_props = 1
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1610 syntax keyword typescriptAnimationEvent contained animationend animationiteration
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1611 syntax keyword typescriptAnimationEvent contained animationstart beginEvent endEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1612 syntax keyword typescriptAnimationEvent contained repeatEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1613 syntax cluster events add=typescriptAnimationEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1614 hi def link typescriptAnimationEvent Title
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1615 syntax keyword typescriptCSSEvent contained CssRuleViewRefreshed CssRuleViewChanged
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1616 syntax keyword typescriptCSSEvent contained CssRuleViewCSSLinkClicked transitionend
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1617 syntax cluster events add=typescriptCSSEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1618 hi def link typescriptCSSEvent Title
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1619 syntax keyword typescriptDatabaseEvent contained blocked complete error success upgradeneeded
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1620 syntax keyword typescriptDatabaseEvent contained versionchange
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1621 syntax cluster events add=typescriptDatabaseEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1622 hi def link typescriptDatabaseEvent Title
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1623 syntax keyword typescriptDocumentEvent contained DOMLinkAdded DOMLinkRemoved DOMMetaAdded
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1624 syntax keyword typescriptDocumentEvent contained DOMMetaRemoved DOMWillOpenModalDialog
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1625 syntax keyword typescriptDocumentEvent contained DOMModalDialogClosed unload
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1626 syntax cluster events add=typescriptDocumentEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1627 hi def link typescriptDocumentEvent Title
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1628 syntax keyword typescriptDOMMutationEvent contained DOMAttributeNameChanged DOMAttrModified
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1629 syntax keyword typescriptDOMMutationEvent contained DOMCharacterDataModified DOMContentLoaded
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1630 syntax keyword typescriptDOMMutationEvent contained DOMElementNameChanged DOMNodeInserted
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1631 syntax keyword typescriptDOMMutationEvent contained DOMNodeInsertedIntoDocument DOMNodeRemoved
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1632 syntax keyword typescriptDOMMutationEvent contained DOMNodeRemovedFromDocument DOMSubtreeModified
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1633 syntax cluster events add=typescriptDOMMutationEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1634 hi def link typescriptDOMMutationEvent Title
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1635 syntax keyword typescriptDragEvent contained drag dragdrop dragend dragenter dragexit
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1636 syntax keyword typescriptDragEvent contained draggesture dragleave dragover dragstart
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1637 syntax keyword typescriptDragEvent contained drop
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1638 syntax cluster events add=typescriptDragEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1639 hi def link typescriptDragEvent Title
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1640 syntax keyword typescriptElementEvent contained invalid overflow underflow DOMAutoComplete
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1641 syntax keyword typescriptElementEvent contained command commandupdate
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1642 syntax cluster events add=typescriptElementEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1643 hi def link typescriptElementEvent Title
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1644 syntax keyword typescriptFocusEvent contained blur change DOMFocusIn DOMFocusOut focus
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1645 syntax keyword typescriptFocusEvent contained focusin focusout
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1646 syntax cluster events add=typescriptFocusEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1647 hi def link typescriptFocusEvent Title
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1648 syntax keyword typescriptFormEvent contained reset submit
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1649 syntax cluster events add=typescriptFormEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1650 hi def link typescriptFormEvent Title
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1651 syntax keyword typescriptFrameEvent contained DOMFrameContentLoaded
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1652 syntax cluster events add=typescriptFrameEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1653 hi def link typescriptFrameEvent Title
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1654 syntax keyword typescriptInputDeviceEvent contained click contextmenu DOMMouseScroll
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1655 syntax keyword typescriptInputDeviceEvent contained dblclick gamepadconnected gamepaddisconnected
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1656 syntax keyword typescriptInputDeviceEvent contained keydown keypress keyup MozGamepadButtonDown
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1657 syntax keyword typescriptInputDeviceEvent contained MozGamepadButtonUp mousedown mouseenter
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1658 syntax keyword typescriptInputDeviceEvent contained mouseleave mousemove mouseout
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1659 syntax keyword typescriptInputDeviceEvent contained mouseover mouseup mousewheel MozMousePixelScroll
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1660 syntax keyword typescriptInputDeviceEvent contained pointerlockchange pointerlockerror
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1661 syntax keyword typescriptInputDeviceEvent contained wheel
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1662 syntax cluster events add=typescriptInputDeviceEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1663 hi def link typescriptInputDeviceEvent Title
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1664 syntax keyword typescriptMediaEvent contained audioprocess canplay canplaythrough
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1665 syntax keyword typescriptMediaEvent contained durationchange emptied ended ended loadeddata
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1666 syntax keyword typescriptMediaEvent contained loadedmetadata MozAudioAvailable pause
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1667 syntax keyword typescriptMediaEvent contained play playing ratechange seeked seeking
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1668 syntax keyword typescriptMediaEvent contained stalled suspend timeupdate volumechange
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1669 syntax keyword typescriptMediaEvent contained waiting complete
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1670 syntax cluster events add=typescriptMediaEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1671 hi def link typescriptMediaEvent Title
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1672 syntax keyword typescriptMenuEvent contained DOMMenuItemActive DOMMenuItemInactive
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1673 syntax cluster events add=typescriptMenuEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1674 hi def link typescriptMenuEvent Title
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1675 syntax keyword typescriptNetworkEvent contained datachange dataerror disabled enabled
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1676 syntax keyword typescriptNetworkEvent contained offline online statuschange connectionInfoUpdate
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1677 syntax cluster events add=typescriptNetworkEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1678 hi def link typescriptNetworkEvent Title
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1679 syntax keyword typescriptProgressEvent contained abort error load loadend loadstart
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1680 syntax keyword typescriptProgressEvent contained progress timeout uploadprogress
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1681 syntax cluster events add=typescriptProgressEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1682 hi def link typescriptProgressEvent Title
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1683 syntax keyword typescriptResourceEvent contained cached error load
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1684 syntax cluster events add=typescriptResourceEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1685 hi def link typescriptResourceEvent Title
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1686 syntax keyword typescriptScriptEvent contained afterscriptexecute beforescriptexecute
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1687 syntax cluster events add=typescriptScriptEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1688 hi def link typescriptScriptEvent Title
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1689 syntax keyword typescriptSensorEvent contained compassneedscalibration devicelight
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1690 syntax keyword typescriptSensorEvent contained devicemotion deviceorientation deviceproximity
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1691 syntax keyword typescriptSensorEvent contained orientationchange userproximity
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1692 syntax cluster events add=typescriptSensorEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1693 hi def link typescriptSensorEvent Title
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1694 syntax keyword typescriptSessionHistoryEvent contained pagehide pageshow popstate
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1695 syntax cluster events add=typescriptSessionHistoryEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1696 hi def link typescriptSessionHistoryEvent Title
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1697 syntax keyword typescriptStorageEvent contained change storage
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1698 syntax cluster events add=typescriptStorageEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1699 hi def link typescriptStorageEvent Title
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1700 syntax keyword typescriptSVGEvent contained SVGAbort SVGError SVGLoad SVGResize SVGScroll
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1701 syntax keyword typescriptSVGEvent contained SVGUnload SVGZoom
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1702 syntax cluster events add=typescriptSVGEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1703 hi def link typescriptSVGEvent Title
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1704 syntax keyword typescriptTabEvent contained visibilitychange
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1705 syntax cluster events add=typescriptTabEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1706 hi def link typescriptTabEvent Title
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1707 syntax keyword typescriptTextEvent contained compositionend compositionstart compositionupdate
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1708 syntax keyword typescriptTextEvent contained copy cut paste select text
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1709 syntax cluster events add=typescriptTextEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1710 hi def link typescriptTextEvent Title
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1711 syntax keyword typescriptTouchEvent contained touchcancel touchend touchenter touchleave
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1712 syntax keyword typescriptTouchEvent contained touchmove touchstart
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1713 syntax cluster events add=typescriptTouchEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1714 hi def link typescriptTouchEvent Title
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1715 syntax keyword typescriptUpdateEvent contained checking downloading error noupdate
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1716 syntax keyword typescriptUpdateEvent contained obsolete updateready
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1717 syntax cluster events add=typescriptUpdateEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1718 hi def link typescriptUpdateEvent Title
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1719 syntax keyword typescriptValueChangeEvent contained hashchange input readystatechange
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1720 syntax cluster events add=typescriptValueChangeEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1721 hi def link typescriptValueChangeEvent Title
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1722 syntax keyword typescriptViewEvent contained fullscreen fullscreenchange fullscreenerror
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1723 syntax keyword typescriptViewEvent contained resize scroll
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1724 syntax cluster events add=typescriptViewEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1725 hi def link typescriptViewEvent Title
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1726 syntax keyword typescriptWebsocketEvent contained close error message open
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1727 syntax cluster events add=typescriptWebsocketEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1728 hi def link typescriptWebsocketEvent Title
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1729 syntax keyword typescriptWindowEvent contained DOMWindowCreated DOMWindowClose DOMTitleChanged
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1730 syntax cluster events add=typescriptWindowEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1731 hi def link typescriptWindowEvent Title
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1732 syntax keyword typescriptUncategorizedEvent contained beforeunload message open show
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1733 syntax cluster events add=typescriptUncategorizedEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1734 hi def link typescriptUncategorizedEvent Title
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1735 syntax keyword typescriptServiceWorkerEvent contained install activate fetch
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1736 syntax cluster events add=typescriptServiceWorkerEvent
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1737 hi def link typescriptServiceWorkerEvent Title
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1738
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1739
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1740 endif
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1741
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1742 " patch
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1743 " patch for generated code
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1744 syntax keyword typescriptGlobal Promise
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1745 \ nextgroup=typescriptGlobalPromiseDot,typescriptFuncCallArg,typescriptTypeArguments oneline
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1746 syntax keyword typescriptGlobal Map WeakMap
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1747 \ nextgroup=typescriptGlobalPromiseDot,typescriptFuncCallArg,typescriptTypeArguments oneline
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1748
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1749 syntax keyword typescriptConstructor contained constructor
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1750 \ nextgroup=@typescriptCallSignature
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1751 \ skipwhite skipempty
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1752
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1753
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1754 syntax cluster memberNextGroup contains=typescriptMemberOptionality,typescriptTypeAnnotation,@typescriptCallSignature
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1755
22824
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
1756 syntax match typescriptMember /#\?\K\k*/
18639
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1757 \ nextgroup=@memberNextGroup
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1758 \ contained skipwhite
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1759
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1760 syntax match typescriptMethodAccessor contained /\v(get|set)\s\K/me=e-1
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1761 \ nextgroup=@typescriptMembers
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1762
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1763 syntax cluster typescriptPropertyMemberDeclaration contains=
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1764 \ typescriptClassStatic,
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1765 \ typescriptAccessibilityModifier,
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1766 \ typescriptReadonlyModifier,
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1767 \ typescriptMethodAccessor,
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1768 \ @typescriptMembers
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1769 " \ typescriptMemberVariableDeclaration
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1770
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1771 syntax match typescriptMemberOptionality /?\|!/ contained
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1772 \ nextgroup=typescriptTypeAnnotation,@typescriptCallSignature
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1773 \ skipwhite skipempty
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1774
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1775 syntax cluster typescriptMembers contains=typescriptMember,typescriptStringMember,typescriptComputedMember
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1776
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1777 syntax keyword typescriptClassStatic static
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1778 \ nextgroup=@typescriptMembers,typescriptAsyncFuncKeyword,typescriptReadonlyModifier
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1779 \ skipwhite contained
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1780
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1781 syntax keyword typescriptAccessibilityModifier public private protected contained
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1782
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1783 syntax keyword typescriptReadonlyModifier readonly contained
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1784
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1785 syntax region typescriptStringMember contained
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1786 \ start=/\z(["']\)/ skip=/\\\\\|\\\z1\|\\\n/ end=/\z1/
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1787 \ nextgroup=@memberNextGroup
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1788 \ skipwhite skipempty
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1789
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1790 syntax region typescriptComputedMember contained matchgroup=typescriptProperty
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1791 \ start=/\[/rs=s+1 end=/]/
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1792 \ contains=@typescriptValue,typescriptMember,typescriptMappedIn
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1793 \ nextgroup=@memberNextGroup
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1794 \ skipwhite skipempty
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1795
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1796 "don't add typescriptMembers to nextgroup, let outer scope match it
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1797 " so we won't match abstract method outside abstract class
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1798 syntax keyword typescriptAbstract abstract
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1799 \ nextgroup=typescriptClassKeyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1800 \ skipwhite skipnl
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1801 syntax keyword typescriptClassKeyword class
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1802 \ nextgroup=typescriptClassName,typescriptClassExtends,typescriptClassBlock
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1803 \ skipwhite
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1804
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1805 syntax match typescriptClassName contained /\K\k*/
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1806 \ nextgroup=typescriptClassBlock,typescriptClassExtends,typescriptClassTypeParameter
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1807 \ skipwhite skipnl
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1808
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1809 syntax region typescriptClassTypeParameter
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1810 \ start=/</ end=/>/
22824
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
1811 \ contains=@typescriptTypeParameterCluster
18639
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1812 \ nextgroup=typescriptClassBlock,typescriptClassExtends
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1813 \ contained skipwhite skipnl
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1814
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1815 syntax keyword typescriptClassExtends contained extends implements nextgroup=typescriptClassHeritage skipwhite skipnl
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1816
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1817 syntax match typescriptClassHeritage contained /\v(\k|\.|\(|\))+/
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1818 \ nextgroup=typescriptClassBlock,typescriptClassExtends,typescriptMixinComma,typescriptClassTypeArguments
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1819 \ contains=@typescriptValue
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1820 \ skipwhite skipnl
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1821 \ contained
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1822
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1823 syntax region typescriptClassTypeArguments matchgroup=typescriptTypeBrackets
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1824 \ start=/</ end=/>/
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1825 \ contains=@typescriptType
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1826 \ nextgroup=typescriptClassExtends,typescriptClassBlock,typescriptMixinComma
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1827 \ contained skipwhite skipnl
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1828
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1829 syntax match typescriptMixinComma /,/ contained nextgroup=typescriptClassHeritage skipwhite skipnl
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1830
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1831 " we need add arrowFunc to class block for high order arrow func
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1832 " see test case
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1833 syntax region typescriptClassBlock matchgroup=typescriptBraces start=/{/ end=/}/
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1834 \ contains=@typescriptPropertyMemberDeclaration,typescriptAbstract,@typescriptComments,typescriptBlock,typescriptAssign,typescriptDecorator,typescriptAsyncFuncKeyword,typescriptArrowFunc
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1835 \ contained fold
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1836
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1837 syntax keyword typescriptInterfaceKeyword interface nextgroup=typescriptInterfaceName skipwhite
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1838 syntax match typescriptInterfaceName contained /\k\+/
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1839 \ nextgroup=typescriptObjectType,typescriptInterfaceExtends,typescriptInterfaceTypeParameter
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1840 \ skipwhite skipnl
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1841 syntax region typescriptInterfaceTypeParameter
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1842 \ start=/</ end=/>/
22824
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
1843 \ contains=@typescriptTypeParameterCluster
18639
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1844 \ nextgroup=typescriptObjectType,typescriptInterfaceExtends
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1845 \ contained
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1846 \ skipwhite skipnl
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1847
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1848 syntax keyword typescriptInterfaceExtends contained extends nextgroup=typescriptInterfaceHeritage skipwhite skipnl
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1849
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1850 syntax match typescriptInterfaceHeritage contained /\v(\k|\.)+/
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1851 \ nextgroup=typescriptObjectType,typescriptInterfaceComma,typescriptInterfaceTypeArguments
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1852 \ skipwhite
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1853
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1854 syntax region typescriptInterfaceTypeArguments matchgroup=typescriptTypeBrackets
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1855 \ start=/</ end=/>/ skip=/\s*,\s*/
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1856 \ contains=@typescriptType
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1857 \ nextgroup=typescriptObjectType,typescriptInterfaceComma
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1858 \ contained skipwhite
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1859
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1860 syntax match typescriptInterfaceComma /,/ contained nextgroup=typescriptInterfaceHeritage skipwhite skipnl
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1861
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1862 "Block VariableStatement EmptyStatement ExpressionStatement IfStatement IterationStatement ContinueStatement BreakStatement ReturnStatement WithStatement LabelledStatement SwitchStatement ThrowStatement TryStatement DebuggerStatement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1863 syntax cluster typescriptStatement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1864 \ contains=typescriptBlock,typescriptVariable,
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1865 \ @typescriptTopExpression,typescriptAssign,
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1866 \ typescriptConditional,typescriptRepeat,typescriptBranch,
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1867 \ typescriptLabel,typescriptStatementKeyword,
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1868 \ typescriptFuncKeyword,
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1869 \ typescriptTry,typescriptExceptions,typescriptDebugger,
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1870 \ typescriptExport,typescriptInterfaceKeyword,typescriptEnum,
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1871 \ typescriptModule,typescriptAliasKeyword,typescriptImport
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1872
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1873 syntax cluster typescriptPrimitive contains=typescriptString,typescriptTemplate,typescriptRegexpString,typescriptNumber,typescriptBoolean,typescriptNull,typescriptArray
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1874
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1875 syntax cluster typescriptEventTypes contains=typescriptEventString,typescriptTemplate,typescriptNumber,typescriptBoolean,typescriptNull
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1876
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1877 " top level expression: no arrow func
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1878 " also no func keyword. funcKeyword is contained in statement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1879 " funcKeyword allows overloading (func without body)
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1880 " funcImpl requires body
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1881 syntax cluster typescriptTopExpression
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1882 \ contains=@typescriptPrimitive,
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1883 \ typescriptIdentifier,typescriptIdentifierName,
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1884 \ typescriptOperator,typescriptUnaryOp,
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1885 \ typescriptParenExp,typescriptRegexpString,
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1886 \ typescriptGlobal,typescriptAsyncFuncKeyword,
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1887 \ typescriptClassKeyword,typescriptTypeCast
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1888
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1889 " no object literal, used in type cast and arrow func
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1890 " TODO: change func keyword to funcImpl
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1891 syntax cluster typescriptExpression
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1892 \ contains=@typescriptTopExpression,
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1893 \ typescriptArrowFuncDef,
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1894 \ typescriptFuncImpl
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1895
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1896 syntax cluster typescriptValue
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1897 \ contains=@typescriptExpression,typescriptObjectLiteral
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1898
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1899 syntax cluster typescriptEventExpression contains=typescriptArrowFuncDef,typescriptParenExp,@typescriptValue,typescriptRegexpString,@typescriptEventTypes,typescriptOperator,typescriptGlobal,jsxRegion
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1900
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1901 syntax keyword typescriptAsyncFuncKeyword async
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1902 \ nextgroup=typescriptFuncKeyword,typescriptArrowFuncDef
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1903 \ skipwhite
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1904
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1905 syntax keyword typescriptAsyncFuncKeyword await
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1906 \ nextgroup=@typescriptValue
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1907 \ skipwhite
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1908
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1909 syntax keyword typescriptFuncKeyword function
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1910 \ nextgroup=typescriptAsyncFunc,typescriptFuncName,@typescriptCallSignature
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1911 \ skipwhite skipempty
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1912
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1913 syntax match typescriptAsyncFunc contained /*/
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1914 \ nextgroup=typescriptFuncName,@typescriptCallSignature
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1915 \ skipwhite skipempty
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1916
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1917 syntax match typescriptFuncName contained /\K\k*/
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1918 \ nextgroup=@typescriptCallSignature
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1919 \ skipwhite
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1920
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1921 " destructuring ({ a: ee }) =>
22824
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
1922 syntax match typescriptArrowFuncDef contained /(\(\s*\({\_[^}]*}\|\k\+\)\(:\_[^)]\)\?,\?\)\+)\s*=>/
18639
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1923 \ contains=typescriptArrowFuncArg,typescriptArrowFunc
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1924 \ nextgroup=@typescriptExpression,typescriptBlock
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1925 \ skipwhite skipempty
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1926
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1927 " matches `(a) =>` or `([a]) =>` or
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1928 " `(
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1929 " a) =>`
18750
82a28df1e2d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 18639
diff changeset
1930 syntax match typescriptArrowFuncDef contained /(\(\_s*[a-zA-Z\$_\[.]\_[^)]*\)*)\s*=>/
18639
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1931 \ contains=typescriptArrowFuncArg,typescriptArrowFunc
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1932 \ nextgroup=@typescriptExpression,typescriptBlock
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1933 \ skipwhite skipempty
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1934
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1935 syntax match typescriptArrowFuncDef contained /\K\k*\s*=>/
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1936 \ contains=typescriptArrowFuncArg,typescriptArrowFunc
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1937 \ nextgroup=@typescriptExpression,typescriptBlock
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1938 \ skipwhite skipempty
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1939
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1940 " TODO: optimize this pattern
22824
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
1941 syntax region typescriptArrowFuncDef contained start=/(\_[^(^)]*):/ end=/=>/
18639
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1942 \ contains=typescriptArrowFuncArg,typescriptArrowFunc,typescriptTypeAnnotation
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1943 \ nextgroup=@typescriptExpression,typescriptBlock
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1944 \ skipwhite skipempty keepend
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1945
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1946 syntax match typescriptArrowFunc /=>/
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1947 syntax match typescriptArrowFuncArg contained /\K\k*/
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1948 syntax region typescriptArrowFuncArg contained start=/<\|(/ end=/\ze=>/ contains=@typescriptCallSignature
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1949
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1950 syntax region typescriptReturnAnnotation contained start=/:/ end=/{/me=e-1 contains=@typescriptType nextgroup=typescriptBlock
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1951
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1952
22824
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
1953 syntax region typescriptFuncImpl contained start=/function\>/ end=/{/me=e-1
18639
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1954 \ contains=typescriptFuncKeyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1955 \ nextgroup=typescriptBlock
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1956
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1957 syntax cluster typescriptCallImpl contains=typescriptGenericImpl,typescriptParamImpl
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1958 syntax region typescriptGenericImpl matchgroup=typescriptTypeBrackets
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1959 \ start=/</ end=/>/ skip=/\s*,\s*/
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1960 \ contains=typescriptTypeParameter
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1961 \ nextgroup=typescriptParamImpl
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1962 \ contained skipwhite
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1963 syntax region typescriptParamImpl matchgroup=typescriptParens
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1964 \ start=/(/ end=/)/
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1965 \ contains=typescriptDecorator,@typescriptParameterList,@typescriptComments
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1966 \ nextgroup=typescriptReturnAnnotation,typescriptBlock
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1967 \ contained skipwhite skipnl
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1968
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1969 syntax match typescriptDecorator /@\([_$a-zA-Z][_$a-zA-Z0-9]*\.\)*[_$a-zA-Z][_$a-zA-Z0-9]*\>/
22824
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
1970 \ nextgroup=typescriptFuncCallArg,typescriptTypeArguments
18639
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1971 \ contains=@_semantic,typescriptDotNotation
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1972
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1973 " Define the default highlighting.
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1974 hi def link typescriptReserved Error
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1975
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1976 hi def link typescriptEndColons Exception
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1977 hi def link typescriptSymbols Normal
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1978 hi def link typescriptBraces Function
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1979 hi def link typescriptParens Normal
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1980 hi def link typescriptComment Comment
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1981 hi def link typescriptLineComment Comment
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1982 hi def link typescriptDocComment Comment
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1983 hi def link typescriptCommentTodo Todo
22824
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
1984 hi def link typescriptMagicComment SpecialComment
18639
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1985 hi def link typescriptRef Include
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1986 hi def link typescriptDocNotation SpecialComment
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1987 hi def link typescriptDocTags SpecialComment
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1988 hi def link typescriptDocNGParam typescriptDocParam
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1989 hi def link typescriptDocParam Function
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1990 hi def link typescriptDocNumParam Function
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1991 hi def link typescriptDocEventRef Function
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1992 hi def link typescriptDocNamedParamType Type
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1993 hi def link typescriptDocParamName Type
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1994 hi def link typescriptDocParamType Type
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1995 hi def link typescriptString String
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1996 hi def link typescriptSpecial Special
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1997 hi def link typescriptStringLiteralType String
22824
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
1998 hi def link typescriptTemplateLiteralType String
18639
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1999 hi def link typescriptStringMember String
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2000 hi def link typescriptTemplate String
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2001 hi def link typescriptEventString String
22824
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
2002 hi def link typescriptDestructureString String
18639
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2003 hi def link typescriptASCII Special
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2004 hi def link typescriptTemplateSB Label
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2005 hi def link typescriptRegexpString String
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2006 hi def link typescriptGlobal Constant
18750
82a28df1e2d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 18639
diff changeset
2007 hi def link typescriptTestGlobal Function
18639
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2008 hi def link typescriptPrototype Type
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2009 hi def link typescriptConditional Conditional
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2010 hi def link typescriptConditionalElse Conditional
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2011 hi def link typescriptCase Conditional
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2012 hi def link typescriptDefault typescriptCase
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2013 hi def link typescriptBranch Conditional
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2014 hi def link typescriptIdentifier Structure
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2015 hi def link typescriptVariable Identifier
22824
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
2016 hi def link typescriptDestructureVariable PreProc
18639
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2017 hi def link typescriptEnumKeyword Identifier
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2018 hi def link typescriptRepeat Repeat
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2019 hi def link typescriptForOperator Repeat
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2020 hi def link typescriptStatementKeyword Statement
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2021 hi def link typescriptMessage Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2022 hi def link typescriptOperator Identifier
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2023 hi def link typescriptKeywordOp Identifier
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2024 hi def link typescriptCastKeyword Special
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2025 hi def link typescriptType Type
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2026 hi def link typescriptNull Boolean
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2027 hi def link typescriptNumber Number
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2028 hi def link typescriptBoolean Boolean
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2029 hi def link typescriptObjectLabel typescriptLabel
22824
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
2030 hi def link typescriptDestructureLabel Function
18639
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2031 hi def link typescriptLabel Label
22824
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
2032 hi def link typescriptTupleLable Label
18639
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2033 hi def link typescriptStringProperty String
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2034 hi def link typescriptImport Special
22824
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
2035 hi def link typescriptImportType Special
18639
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2036 hi def link typescriptAmbientDeclaration Special
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2037 hi def link typescriptExport Special
22824
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
2038 hi def link typescriptExportType Special
18639
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2039 hi def link typescriptModule Special
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2040 hi def link typescriptTry Special
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2041 hi def link typescriptExceptions Special
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2042
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2043 hi def link typescriptMember Function
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2044 hi def link typescriptMethodAccessor Operator
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2045
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2046 hi def link typescriptAsyncFuncKeyword Keyword
22824
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18750
diff changeset
2047 hi def link typescriptObjectAsyncKeyword Keyword
18639
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2048 hi def link typescriptAsyncFor Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2049 hi def link typescriptFuncKeyword Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2050 hi def link typescriptAsyncFunc Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2051 hi def link typescriptArrowFunc Type
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2052 hi def link typescriptFuncName Function
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2053 hi def link typescriptFuncArg PreProc
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2054 hi def link typescriptArrowFuncArg PreProc
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2055 hi def link typescriptFuncComma Operator
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2056
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2057 hi def link typescriptClassKeyword Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2058 hi def link typescriptClassExtends Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2059 " hi def link typescriptClassName Function
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2060 hi def link typescriptAbstract Special
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2061 " hi def link typescriptClassHeritage Function
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2062 " hi def link typescriptInterfaceHeritage Function
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2063 hi def link typescriptClassStatic StorageClass
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2064 hi def link typescriptReadonlyModifier Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2065 hi def link typescriptInterfaceKeyword Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2066 hi def link typescriptInterfaceExtends Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2067 hi def link typescriptInterfaceName Function
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2068
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2069 hi def link shellbang Comment
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2070
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2071 hi def link typescriptTypeParameter Identifier
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2072 hi def link typescriptConstraint Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2073 hi def link typescriptPredefinedType Type
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2074 hi def link typescriptReadonlyArrayKeyword Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2075 hi def link typescriptUnion Operator
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2076 hi def link typescriptFuncTypeArrow Function
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2077 hi def link typescriptConstructorType Function
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2078 hi def link typescriptTypeQuery Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2079 hi def link typescriptAccessibilityModifier Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2080 hi def link typescriptOptionalMark PreProc
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2081 hi def link typescriptFuncType Special
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2082 hi def link typescriptMappedIn Special
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2083 hi def link typescriptCall PreProc
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2084 hi def link typescriptParamImpl PreProc
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2085 hi def link typescriptConstructSignature Identifier
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2086 hi def link typescriptAliasDeclaration Identifier
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2087 hi def link typescriptAliasKeyword Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2088 hi def link typescriptUserDefinedType Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2089 hi def link typescriptTypeReference Identifier
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2090 hi def link typescriptConstructor Keyword
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2091 hi def link typescriptDecorator Special
18750
82a28df1e2d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 18639
diff changeset
2092 hi def link typescriptAssertType Keyword
18639
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2093
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2094 hi link typeScript NONE
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2095
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2096 if exists('s:cpo_save')
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2097 let &cpo = s:cpo_save
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2098 unlet s:cpo_save
cb3163d590a1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2099 endif