mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-15 09:50:04 -04:00
highlights(ecma): fix captures
Co-Authored-By: Stephan Seitz <stephan.seitz@fau.de>
This commit is contained in:
parent
21cf4eff37
commit
fa4b9941e6
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue