Add operators highlighting

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

View file

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

View file

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