mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 11:36:54 -04:00
Add lacked Javascript operators
This commit is contained in:
parent
29782ebdaa
commit
0fc8ea0035
1 changed files with 16 additions and 0 deletions
|
|
@ -151,6 +151,7 @@
|
|||
";" @punctuation.delimiter
|
||||
"." @punctuation.delimiter
|
||||
"," @punctuation.delimiter
|
||||
"?." @punctuation.delimiter
|
||||
|
||||
(pair ":" @punctuation.delimiter)
|
||||
|
||||
|
|
@ -181,6 +182,21 @@
|
|||
"||"
|
||||
"%"
|
||||
"%="
|
||||
"*"
|
||||
"**"
|
||||
">>>"
|
||||
"&"
|
||||
"|"
|
||||
"^"
|
||||
"??"
|
||||
"*="
|
||||
">>="
|
||||
">>>="
|
||||
"^="
|
||||
"|="
|
||||
"&&="
|
||||
"||="
|
||||
"??="
|
||||
] @operator
|
||||
|
||||
(binary_expression "/" @operator)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue