0 |
;; SPDX-FileCopyrightText 2024 toastal <toastal@posteo.net> |
1 |
;; SPDX-License-Identifier: LGPL-2.1-or-later |
2 |
; extends |
3 |
|
4 |
("function" @keyword.function (#set! conceal "λ")) |
5 |
("return" @keyword.function (#set! conceal "⮡")) |
6 |
("=" @operator (#set! conceal "≔")) |
7 |
("::" @operator (#set! conceal "∷")) |
8 |
("->" @operator (#set! conceal "→")) |
9 |
("=>" @operator (#set! conceal "⇒")) |
10 |
("?->" @operator (#set! conceal "⇨")) |
11 |
("??" @operator (#set! conceal "⁇")) |
12 |
|
13 |
("==" @operator (#set! conceal "≈")) |
14 |
(["!=" "<>"] @operator (#set! conceal "≉")) |
15 |
("===" @operator (#set! conceal "=")) |
16 |
("!==" @operator (#set! conceal "≠")) |
17 |
("<=" @operator (#set! conceal "≤")) |
18 |
("<=" @operator (#set! conceal "≥")) |
19 |
("<=>" @operator (#set! conceal "⇔")) |
20 |
("!" @operator (#set! conceal "¬")) |
21 |
("&&" @operator (#set! conceal "∧")) |
22 |
("||" @operator (#set! conceal "∨")) |
23 |
|
24 |
("-" @operator (#set! conceal "−")) |
25 |
("*" @operator (#set! conceal "×")) |
26 |
("/" @operator (#set! conceal "÷")) |
27 |
(unary_op_expression ("-" @number) (#set! conceal "⁻")) |
28 |
|
29 |
((null) @constant.builtin (#set! conceal "∅")) |