We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ece5d5 commit a7f2216Copy full SHA for a7f2216
syntax/javascript.vim
@@ -21,12 +21,12 @@ setlocal iskeyword+=$
21
22
syntax sync fromstart
23
24
-syntax match jsNoise /\%(:\|,\|\;\|\.\)/
+syntax match jsNoise /[:,\;\.]\{1}/
25
26
"" Program Keywords
27
syntax keyword jsStorageClass const var let
28
syntax keyword jsOperator delete instanceof typeof void new in
29
-syntax match jsOperator /\(!\||\|&\|+\|-\|<\|>\|=\|%\|\/\|*\|\~\|\^\)/
+syntax match jsOperator /[\!\|\&\+\-\<\>\=\%\/\*\~\^]\{1}/
30
syntax keyword jsBooleanTrue true
31
syntax keyword jsBooleanFalse false
32
syntax keyword jsModules import export contained
0 commit comments