tree-sitter-bp/test/highlight/operators.bp
Bruno BELANYI 7d6dce936a Account for '-' as an operator
For syntax purposes it's part of the number, but it looks better when
highlighted as an operator.
2024-04-09 12:28:28 +01:00

10 lines
101 B
Plaintext

foo = bar
// ^ operator
foo += 1
// ^ operator
foo = -1 + 2
// ^ operator
// ^ operator