annotate vendor/vim-syntax/shared/typescriptcommon.vim @ 707:4576f1471f53

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