Add operators highlighting

This commit is contained in:
Bruno BELANYI 2024-04-08 20:54:35 +01:00
parent 69e7f36f75
commit 91e6f7841c
2 changed files with 12 additions and 0 deletions

View file

@ -3,6 +3,10 @@
(block_comment) (block_comment)
] @comment ] @comment
; Operators {{{
(operator) @operator
; }}}
; Literal {{{ ; Literal {{{
(boolean_literal) @boolean (boolean_literal) @boolean

View file

@ -0,0 +1,8 @@
foo = bar
// ^ operator
foo += 1
// ^ operator
foo = -1 + 2
// ^ operator