summaryrefslogtreecommitdiffstats
path: root/syntax/basic/symbols.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2020-07-06 19:13:39 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2020-07-06 19:13:39 +0200
commit8500ae8bb9f4da69273eace4d9cef54ae7f18627 (patch)
tree85acb09cdf450251a775e23a76a42db7003303d0 /syntax/basic/symbols.vim
parentd09a56a494863afd789cba1850e123dfc1dd26cf (diff)
downloadvim-polyglot-8500ae8bb9f4da69273eace4d9cef54ae7f18627.tar.gz
vim-polyglot-8500ae8bb9f4da69273eace4d9cef54ae7f18627.zip
Update
Diffstat (limited to '')
-rw-r--r--syntax/basic/symbols.vim10
1 files changed, 6 insertions, 4 deletions
diff --git a/syntax/basic/symbols.vim b/syntax/basic/symbols.vim
index c4c025ac..2799ed39 100644
--- a/syntax/basic/symbols.vim
+++ b/syntax/basic/symbols.vim
@@ -16,10 +16,12 @@ syntax match typescriptBinaryOp contained /===\?/ nextgroup=@typescriptValue s
syntax match typescriptBinaryOp contained />\(>>=\|>>\|>=\|>\|=\)\?/ nextgroup=@typescriptValue skipwhite skipempty
" 4: <<=, <<, <=, <
syntax match typescriptBinaryOp contained /<\(<=\|<\|=\)\?/ nextgroup=@typescriptValue skipwhite skipempty
-" 3: ||, |=, |
-syntax match typescriptBinaryOp contained /|\(|\|=\)\?/ nextgroup=@typescriptValue skipwhite skipempty
-" 3: &&, &=, &
-syntax match typescriptBinaryOp contained /&\(&\|=\)\?/ nextgroup=@typescriptValue skipwhite skipempty
+" 3: ||, |=, |, ||=
+syntax match typescriptBinaryOp contained /||\?=\?/ nextgroup=@typescriptValue skipwhite skipempty
+" 4: &&, &=, &, &&=
+syntax match typescriptBinaryOp contained /&&\?=\?/ nextgroup=@typescriptValue skipwhite skipempty
+" 2: ??, ??=
+syntax match typescriptBinaryOp contained /??=\?/ nextgroup=@typescriptValue skipwhite skipempty
" 2: *=, *
syntax match typescriptBinaryOp contained /\*=\?/ nextgroup=@typescriptValue skipwhite skipempty
" 2: %=, %