mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-05 04:50:03 -04:00
Add operators
This commit is contained in:
parent
042464c1c5
commit
d262d4101e
1 changed files with 27 additions and 1 deletions
|
|
@ -13,7 +13,33 @@
|
|||
(marker_annotation
|
||||
name: (identifier) @attribute)
|
||||
|
||||
"@" @operator
|
||||
; Operators
|
||||
[
|
||||
"@"
|
||||
"+"
|
||||
"++"
|
||||
"-"
|
||||
"--"
|
||||
"&"
|
||||
"&&"
|
||||
"|"
|
||||
"||"
|
||||
"!="
|
||||
"=="
|
||||
"*"
|
||||
"/"
|
||||
"%"
|
||||
"<"
|
||||
"<="
|
||||
">"
|
||||
">="
|
||||
"="
|
||||
"-="
|
||||
"+="
|
||||
"*="
|
||||
"/="
|
||||
"%="
|
||||
] @operator
|
||||
|
||||
; Types
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue