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

Showing details for patch 54cd30eedceea3194b1a78ccfbf92ae9242d2181.
2024-03-15 (Fri), 6:15 AM - toastal - 54cd30eedceea3194b1a78ccfbf92ae9242d2181

add PHP

Summary of changes
1 files added
  • after/queries/php/highlights.scm
1 files modified with 1 lines added and 0 lines removed
  • flake.nix with 1 added and 0 removed lines
diff -rN -u old-nvim-tree-sitter-unicode-conceal/after/queries/php/highlights.scm new-nvim-tree-sitter-unicode-conceal/after/queries/php/highlights.scm
--- old-nvim-tree-sitter-unicode-conceal/after/queries/php/highlights.scm	1970-01-01 00:00:00.000000000 +0000
+++ new-nvim-tree-sitter-unicode-conceal/after/queries/php/highlights.scm	2024-11-24 22:32:50.621630333 +0000
@@ -0,0 +1,27 @@
+;; SPDX-FileCopyrightText 2024 toastal <toastal@posteo.net>
+;; SPDX-License-Identifier: LGPL-2.1-or-later
+; extends
+
+("function" @keyword.function @conceal (#set! conceal "λ"))
+("return" @keyword.function @conceal (#set! conceal "⮡"))
+("=" @operator @conceal (#set! conceal "≔"))
+("::" @operator @conceal (#set! conceal "∷"))
+("->" @operator @conceal (#set! conceal "→"))
+("=>" @operator @conceal (#set! conceal "⇒"))
+("?->" @operator @conceal (#set! conceal "⇨"))
+("??" @operator @conceal (#set! conceal "⁇"))
+
+("==" @operator @conceal (#set! conceal "="))
+(["!=" "<>"] @operator @conceal (#set! conceal "≠"))
+("===" @operator @conceal (#set! conceal "≡"))
+("!==" @operator @conceal (#set! conceal "≢"))
+("<=" @operator @conceal (#set! conceal "≤"))
+("<=" @operator @conceal (#set! conceal "≥"))
+("<=>" @operator @conceal (#set! conceal "⇔"))
+("*" @operator @conceal (#set! conceal "×"))
+("/" @operator @conceal (#set! conceal "÷"))
+("!" @operator @conceal (#set! conceal "¬"))
+("&&" @operator @conceal (#set! conceal "∧"))
+("||" @operator @conceal (#set! conceal "∨"))
+
+((null) @constant.builtin @conceal (#set! conceal "∅"))
diff -rN -u old-nvim-tree-sitter-unicode-conceal/flake.nix new-nvim-tree-sitter-unicode-conceal/flake.nix
--- old-nvim-tree-sitter-unicode-conceal/flake.nix	2024-11-24 22:32:50.621630333 +0000
+++ new-nvim-tree-sitter-unicode-conceal/flake.nix	2024-11-24 22:32:50.621630333 +0000
@@ -70,6 +70,7 @@
                       nix
                       ocaml
                       ocaml-interface
+                      php
                     ]
                   ))
                   playground