~toastal/nvim-tree-sitter-unicode-conceal
Showing details for patch 54cd30eedceea3194b1a78ccfbf92ae9242d2181.
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