Skip to content

Commit f61398c

Browse files
committed
Fixing stupid things.
1 parent 4740441 commit f61398c

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

‎syntax/typescript.vim‎

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,8 @@ syntax keyword typescriptGlobalNodeObjects module exports global process __dirn
129129

130130
syntaxkeywordtypescriptExceptions try catch throw finally Error EvalError RangeError ReferenceError SyntaxError TypeError URIError
131131

132+
synmatchFunction/[a-zA-Z0-9_]\+\s*(/me=e-1
133+
132134
syntaxkeywordtypescriptReserved constructor declare as interface module abstract enum int short export interface static byte extends long super char final native synchronized class float package throws goto private transient debugger implements protected volatile double import public type namespace from get set keyof satisfies
133135
"}}}
134136
"" typescript/DOM/HTML/CSS specified things"{{{
@@ -207,7 +209,7 @@ syn match typescriptBraces "[{}\[\]]"
207209
synmatchtypescriptParens"[()]"
208210
synmatchtypescriptEndColons"[;,]"
209211
synmatchtypescriptLogicSymbols"\(&&\)\|\(||\)\|\(??\)\|\(!\)"
210-
synmatchtypescriptOpSymbols"=\{1,3}\|!==\|!=\|<\|>\|>=\|<=\|++\|+=\|--\|-="
212+
synmatchtypescriptOpSymbols"=\{1,3}\|!==\|!=\|<\|>\|>=\|<=\|+\{1,2}\|+=\|-\{1,2}\|-="
211213

212214
" typescriptFold Function{{{
213215

@@ -234,11 +236,11 @@ endif
234236
HiLink typescriptParameters Operator
235237
HiLink typescriptSuperBlock Operator
236238

237-
HiLink typescriptEndColons Exception
239+
HiLink typescriptEndColons Delimiter
238240
HiLink typescriptOpSymbols Operator
239-
HiLink typescriptLogicSymbols Boolean
240-
HiLink typescriptBraces Function
241-
HiLink typescriptParens Operator
241+
HiLink typescriptLogicSymbols Operator
242+
HiLink typescriptBraces Delimiter
243+
HiLink typescriptParens Delimiter
242244
HiLink typescriptComment Comment
243245
HiLink typescriptLineComment Comment
244246
HiLink typescriptRefComment Include
@@ -275,7 +277,7 @@ HiLink typescriptParensErrC Error
275277
HiLink typescriptReserved Keyword
276278
HiLink typescriptOperator Operator
277279
HiLink typescriptType Type
278-
HiLink typescriptNull Type
280+
HiLink typescriptNull Constant
279281
HiLink typescriptNumber Number
280282
HiLink typescriptFloat Number
281283
HiLink typescriptDecorators Special

0 commit comments

Comments
(0)