~toastal/nvim-tree-sitter-unicode-conceal

~toastal/nvim-tree-sitter-unicode-conceal/after/queries/nix/highlights.scm
 ..
0 ;; SPDX-FileCopyrightText 2023–2024 toastal <toastal@posteo.net>
1 ;; SPDX-License-Identifier: LGPL-2.1-or-later
2 ; extends
3
4 ("rec" @keyword (#set! conceal "∇"))
5 ("=" @operator.assignment (#set! conceal "≔"))
6 ("let" (binding_set (binding "=" @operator.assignment (#set! conceal "←"))))
7
8 ("!" @operator (#set! conceal "¬"))
9 ("==" @operator (#set! conceal "="))
10 ("!=" @operator (#set! conceal "≠"))
11 ("<=" @operator (#set! conceal "≤"))
12 (">=" @operator (#set! conceal "≥"))
13 ("&&" @operator (#set! conceal "∧"))
14 ("||" @operator (#set! conceal "∨"))
15 ("->" @operator (#set! conceal "→"))
16
17 ("-" @operator (#set! conceal "−"))
18 ("*" @operator (#set! conceal "×"))
19 ("/" @operator (#set! conceal "÷"))
20 (unary_expression ("-" @number) (#set! conceal "⁻"))
21
22 ("//" @operator (#set! conceal "⫽"))
23
24 ((ellipses) @variable.parameter.builtin.nix (#set! conceal "…"))
25 ((identifier) @constant.builtin (#eq? @constant.builtin "null") (#set! conceal "∅"))