Add operators highlighting
This commit is contained in:
parent
d83fa3acb7
commit
6e40691a35
2 changed files with 61 additions and 0 deletions
42
test/highlight/operators.tig
Normal file
42
test/highlight/operators.tig
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
(
|
||||
/* <- punctuation.bracket */
|
||||
|
||||
-1 | 2 & 3 + 4 * 5;
|
||||
/* <- operator */
|
||||
/* ^ operator */
|
||||
/* ^ operator */
|
||||
/* ^ operator */
|
||||
/* ^ operator */
|
||||
/* ^ punctuation.delimiter */
|
||||
|
||||
12 >= 27;
|
||||
/* ^ operator */
|
||||
12 <= 27;
|
||||
/* ^ operator */
|
||||
12 = 27;
|
||||
/* ^ operator */
|
||||
12 <> 27;
|
||||
/* ^ operator */
|
||||
12 < 27;
|
||||
/* ^ operator */
|
||||
12 > 27;
|
||||
/* ^ operator */
|
||||
|
||||
record.field;
|
||||
/* ^ punctuation.delimiter */
|
||||
|
||||
func(a, b);
|
||||
/* ^ punctuation.bracket */
|
||||
/* ^ punctuation.bracket */
|
||||
/* ^ punctuation.delimiter */
|
||||
|
||||
record_type { };
|
||||
/* ^ punctuation.bracket */
|
||||
/* ^ punctuation.bracket */
|
||||
|
||||
array[42]
|
||||
/* ^ punctuation.bracket */
|
||||
/* ^ punctuation.bracket */
|
||||
|
||||
)
|
||||
/* <- punctuation.bracket */
|
||||
Loading…
Add table
Add a link
Reference in a new issue