highlights(ecma): fix captures

Co-Authored-By: Stephan Seitz <stephan.seitz@fau.de>
This commit is contained in:
ObserverOfTime 2022-10-22 16:45:59 +03:00
parent 21cf4eff37
commit fa4b9941e6

View file

@ -186,7 +186,8 @@
(binary_expression "/" @operator) (binary_expression "/" @operator)
(ternary_expression ["?" ":"] @conditional) (ternary_expression ["?" ":"] @conditional)
(unary_expression ["!" "~" "-" "+" "delete" "void" "typeof"] @operator) (unary_expression ["!" "~" "-" "+"] @operator)
(unary_expression ["delete" "void" "typeof"] @keyword.operator)
[ [
"(" "("
@ -245,7 +246,6 @@
"target" "target"
"typeof" "typeof"
"var" "var"
"void"
"with" "with"
] @keyword ] @keyword