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

Showing details for patch 2a335c8d161f6c99327fcdfd4b0de3355ce2f714.
2023-09-03 (Sun), 2:40 PM - toastal - 2a335c8d161f6c99327fcdfd4b0de3355ce2f714

Add support: fish

Summary of changes
1 files added
  • after/queries/fish/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/fish/highlights.scm new-nvim-tree-sitter-unicode-conceal/after/queries/fish/highlights.scm
--- old-nvim-tree-sitter-unicode-conceal/after/queries/fish/highlights.scm	1970-01-01 00:00:00.000000000 +0000
+++ new-nvim-tree-sitter-unicode-conceal/after/queries/fish/highlights.scm	2024-11-25 01:31:29.663871817 +0000
@@ -0,0 +1,12 @@
+;; SPDX-FileCopyrightText 2023 toastal <toastal@posteo.net>
+;; SPDX-License-Identifier: LGPL-2.1-or-later
+; extends
+
+("function" @keyword.function @conceal (#set! conceal "λ"))
+("end" @keyword.function @conceal (#set! conceal "◊"))
+
+(["&&" "and"] @keyword.operator @conceal (#set! conceal "∧"))
+(["||" "or"] @keyword.operator @conceal (#set! conceal "∨"))
+("not" @keyword.operator @conceal (#set! conceal "¬"))
+
+("return" @keyword.return @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-25 01:31:29.663871817 +0000
+++ new-nvim-tree-sitter-unicode-conceal/flake.nix	2024-11-25 01:31:29.663871817 +0000
@@ -62,6 +62,7 @@
                 start = [
                   (nvim-treesitter.withPlugins (
                     plugins: with plugins; [
+                      fish
                       lua
                       nickel
                       nix