Add operators highlighting
This commit is contained in:
parent
69e7f36f75
commit
91e6f7841c
2 changed files with 12 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue