Skip to content
This repository was archived by the owner on Oct 17, 2023. It is now read-only.

Commit ee61b96

Browse files
author
Andrei Bartashevich
committed
Add nullish coalescing operator (??)
1 parent 67e81e4 commit ee61b96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

syntax/typescript.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ syntax keyword typescriptFuncKeyword function
206206
syn match typescriptBraces "[{}\[\]]"
207207
syn match typescriptParens "[()]"
208208
syn match typescriptEndColons "[;,]"
209-
syn match typescriptLogicSymbols "\(&&\)\|\(||\)\|\(!\)"
209+
syn match typescriptLogicSymbols "\(&&\)\|\(||\)\|\(??\)\|\(!\)"
210210
syn match typescriptOpSymbols "=\{1,3}\|!==\|!=\|<\|>\|>=\|<=\|++\|+=\|--\|-="
211211

212212
" typescriptFold Function {{{

0 commit comments

Comments
 (0)