Add operators highlighting
This commit is contained in:
parent
69e7f36f75
commit
91e6f7841c
|
@ -3,6 +3,10 @@
|
|||
(block_comment)
|
||||
] @comment
|
||||
|
||||
; Operators {{{
|
||||
(operator) @operator
|
||||
; }}}
|
||||
|
||||
; Literal {{{
|
||||
(boolean_literal) @boolean
|
||||
|
||||
|
|
8
test/highlight/operators.bp
Normal file
8
test/highlight/operators.bp
Normal file
|
@ -0,0 +1,8 @@
|
|||
foo = bar
|
||||
// ^ operator
|
||||
|
||||
foo += 1
|
||||
// ^ operator
|
||||
|
||||
foo = -1 + 2
|
||||
// ^ operator
|
Loading…
Reference in a new issue