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

Showing details for patch 8886ff98bd20e9be01ac90737d95aabadb27b634.
2024-05-19 (Sun), 10:05 AM - toastal - 8886ff98bd20e9be01ac90737d95aabadb27b634

remove @conceal

Summary of changes
6 files modified with 95 lines added and 95 lines removed
  • after/queries/erlang/highlights.scm with 25 added and 25 removed lines
  • after/queries/fish/highlights.scm with 7 added and 7 removed lines
  • after/queries/lua/highlights.scm with 17 added and 17 removed lines
  • after/queries/nix/highlights.scm with 15 added and 15 removed lines
  • after/queries/ocaml/highlights.scm with 10 added and 10 removed lines
  • after/queries/php/highlights.scm with 21 added and 21 removed lines
diff -rN -u old-nvim-tree-sitter-unicode-conceal/after/queries/erlang/highlights.scm new-nvim-tree-sitter-unicode-conceal/after/queries/erlang/highlights.scm
--- old-nvim-tree-sitter-unicode-conceal/after/queries/erlang/highlights.scm	2024-11-21 23:09:01.239941240 +0000
+++ new-nvim-tree-sitter-unicode-conceal/after/queries/erlang/highlights.scm	2024-11-21 23:09:01.239941240 +0000
@@ -2,29 +2,29 @@
 ;; SPDX-License-Identifier: LGPL-2.1-or-later
 ; extends
 
-("fun" @keyword.function @conceal (#set! conceal "λ"))
-("end" @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 "≟"))
+("fun" @keyword.function (#set! conceal "λ"))
+("end" @keyword.function (#set! conceal "◊"))
+("->" @operator (#set! conceal "→"))
+("<-" @operator (#set! conceal "←"))
+("=>" @operator (#set! conceal "⇒"))
+("<=" @operator (#set! conceal "⇐"))
+("=" @operator (#set! conceal "≔"))
+(":=" @operator (#set! conceal "⩴"))
+("?=" @operator (#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 (#set! conceal "="))
+("/=" @operator (#set! conceal "≠"))
+("=:=" @operator (#set! conceal "≡"))
+("=/=" @operator (#set! conceal "≢"))
+("=<" @operator (#set! conceal "≤"))
+(">=" @operator (#set! conceal "≥"))
+("*" @operator (#set! conceal "×"))
 ; welp… upstream parser is broken currently
-(ERROR ("/" @operator @conceal) !arity (#set! conceal "÷"))
-("not" @operator @conceal (#set! conceal "¬"))
-("and" @operator @conceal (#set! conceal "∧"))
-("or" @operator @conceal (#set! conceal "∨"))
-("xor" @operator @conceal (#set! conceal "⊻"))
+(ERROR ("/" @operator ) !arity (#set! conceal "÷"))
+("not" @operator (#set! conceal "¬"))
+("and" @operator (#set! conceal "∧"))
+("or" @operator (#set! conceal "∨"))
+("xor" @operator (#set! conceal "⊻"))
 
-(type_sig (expr_args args: (call (atom) @type.definition @conceal (#eq? @type.definition "integer"))) (#set! conceal "ℤ"))
-(type_sig (pipe lhs: (atom) @lhs rhs: (atom) @rhs (#any-of? @lhs "true" "false") (#any-of? @rhs "true" "false") (#not-eq? @lhs @rhs)) @boolean @conceal (#set! conceal "𝔹"))
+(type_sig (expr_args args: (call (atom) @type.definition (#eq? @type.definition "integer"))) (#set! conceal "ℤ"))
+(type_sig (pipe lhs: (atom) @lhs rhs: (atom) @rhs (#any-of? @lhs "true" "false") (#any-of? @rhs "true" "false") (#not-eq? @lhs @rhs)) @boolean (#set! conceal "𝔹"))
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	2024-11-21 23:09:01.239941240 +0000
+++ new-nvim-tree-sitter-unicode-conceal/after/queries/fish/highlights.scm	2024-11-21 23:09:01.239941240 +0000
@@ -2,10 +2,10 @@
 ;; SPDX-License-Identifier: LGPL-2.1-or-later
 ; extends
 
-("function" @keyword.function @conceal (#set! conceal "λ"))
-("end" @keyword.function @conceal (#set! conceal "◊"))
-("return" @keyword.return @conceal (#set! conceal "⮡"))
+("function" @keyword.function (#set! conceal "λ"))
+("end" @keyword.function (#set! conceal "◊"))
+("return" @keyword.return (#set! conceal "⮡"))
 
-(["&&" "and"] @keyword.operator @conceal (#set! conceal "∧"))
-(["||" "or"] @keyword.operator @conceal (#set! conceal "∨"))
-("not" @keyword.operator @conceal (#set! conceal "¬"))
+(["&&" "and"] @keyword.operator (#set! conceal "∧"))
+(["||" "or"] @keyword.operator (#set! conceal "∨"))
+("not" @keyword.operator (#set! conceal "¬"))
diff -rN -u old-nvim-tree-sitter-unicode-conceal/after/queries/lua/highlights.scm new-nvim-tree-sitter-unicode-conceal/after/queries/lua/highlights.scm
--- old-nvim-tree-sitter-unicode-conceal/after/queries/lua/highlights.scm	2024-11-21 23:09:01.239941240 +0000
+++ new-nvim-tree-sitter-unicode-conceal/after/queries/lua/highlights.scm	2024-11-21 23:09:01.239941240 +0000
@@ -2,23 +2,23 @@
 ;; SPDX-License-Identifier: LGPL-2.1-or-later
 ; extends
 
-("function" @keyword.function @conceal (#set! conceal "λ"))
-("end" @keyword.function @conceal (#set! conceal "◊"))
-("return" @keyword.return @conceal (#set! conceal "⮡"))
-(assignment_statement ("=" @operator.assignment @conceal (#set! conceal "≔")))
-(field ("=" @punctuation.delimeter @conceal (#set! conceal "≕")))
+("function" @keyword.function (#set! conceal "λ"))
+("end" @keyword.function (#set! conceal "◊"))
+("return" @keyword.return (#set! conceal "⮡"))
+(assignment_statement ("=" @operator.assignment (#set! conceal "≔")))
+(field ("=" @punctuation.delimeter (#set! conceal "≕")))
 
-("and" @keyword.operator @conceal (#set! conceal "∧"))
-("or" @keyword.operator @conceal (#set! conceal "∨"))
-("not" @operator @conceal (#set! conceal "¬"))
+("and" @keyword.operator (#set! conceal "∧"))
+("or" @keyword.operator (#set! conceal "∨"))
+("not" @operator (#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 (#set! conceal "="))
+("~=" @operator (#set! conceal "≠"))
+("<=" @operator (#set! conceal "≤"))
+(">=" @operator (#set! conceal "≥"))
+(".." @operator (#set! conceal "‥"))
+("/" @operator (#set! conceal "÷"))
+("*" @operator (#set! conceal "×"))
 
 ((((dot_index_expression table: (identifier) @variable field: (identifier) @field) @function.call)
   (#eq? @variable "math") (#eq? @field "ceil"))
diff -rN -u old-nvim-tree-sitter-unicode-conceal/after/queries/nix/highlights.scm new-nvim-tree-sitter-unicode-conceal/after/queries/nix/highlights.scm
--- old-nvim-tree-sitter-unicode-conceal/after/queries/nix/highlights.scm	2024-11-21 23:09:01.239941240 +0000
+++ new-nvim-tree-sitter-unicode-conceal/after/queries/nix/highlights.scm	2024-11-21 23:09:01.239941240 +0000
@@ -2,20 +2,20 @@
 ;; SPDX-License-Identifier: LGPL-2.1-or-later
 ; extends
 
-("rec" @keyword @conceal (#set! conceal "∇"))
-("=" @operator.assignment @conceal (#set! conceal "≔"))
-("let" (binding_set (binding "=" @operator.assignment @conceal (#set! conceal "←"))))
+("rec" @keyword (#set! conceal "∇"))
+("=" @operator.assignment (#set! conceal "≔"))
+("let" (binding_set (binding "=" @operator.assignment (#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 (#set! conceal "¬"))
+("==" @operator (#set! conceal "="))
+("!=" @operator (#set! conceal "≠"))
+("<=" @operator (#set! conceal "≤"))
+(">=" @operator (#set! conceal "≥"))
+("&&" @operator (#set! conceal "∧"))
+("||" @operator (#set! conceal "∨"))
+("->" @operator (#set! conceal "→"))
+("*" @operator (#set! conceal "×"))
+("/" @operator (#set! conceal "÷"))
+("//" @operator (#set! conceal "⫽"))
 
 ((identifier) @constant.builtin (#eq? @constant.builtin "null") (#set! conceal "∅"))
diff -rN -u old-nvim-tree-sitter-unicode-conceal/after/queries/ocaml/highlights.scm new-nvim-tree-sitter-unicode-conceal/after/queries/ocaml/highlights.scm
--- old-nvim-tree-sitter-unicode-conceal/after/queries/ocaml/highlights.scm	2024-11-21 23:09:01.239941240 +0000
+++ new-nvim-tree-sitter-unicode-conceal/after/queries/ocaml/highlights.scm	2024-11-21 23:09:01.239941240 +0000
@@ -2,25 +2,25 @@
 ;; SPDX-License-Identifier: LGPL-2.1-or-later
 ; extends
 
-(["fun" "function"] @keyword.function @conceal (#set! conceal "λ"))
-("rec" @type.qualifier @conceal (#set! conceal "∇"))
-("->" @punctuation.delimeter @conceal (#set! conceal "→"))
-("<-" @punctuation.delimeter @conceal (#set! conceal "←"))
-(";;" @punctuation.delimeter @conceal (#set! conceal "◊"))
-("::" @operator @conceal (#set! conceal "∷"))
+(["fun" "function"] @keyword.function (#set! conceal "λ"))
+("rec" @type.qualifier (#set! conceal "∇"))
+("->" @punctuation.delimeter (#set! conceal "→"))
+("<-" @punctuation.delimeter (#set! conceal "←"))
+(";;" @punctuation.delimeter (#set! conceal "◊"))
+("::" @operator (#set! conceal "∷"))
 (let_binding ("=" @operator.assignment (#set! conceal "≔")))
 (let_binding (":=" @operator.assignment (#set! conceal "⩴")))
 
-(constructor_declaration ("*" @operator @conceal (#set! conceal "×")))
-(tuple_type ("*" @operator @conceal (#set! conceal "×")))
+(constructor_declaration ("*" @operator (#set! conceal "×")))
+(tuple_type ("*" @operator (#set! conceal "×")))
 
 (((rel_operator) @operator (#eq? @operator "<>")) (#set! conceal "≠"))
 (((rel_operator) @operator (#eq? @operator "==")) (#set! conceal "≡"))
 (((rel_operator) @operator (#eq? @operator "!=")) (#set! conceal "≢"))
 (((rel_operator) @operator (#eq? @operator "<=")) (#set! conceal "≤"))
 (((rel_operator) @operator (#eq? @operator ">=")) (#set! conceal "≥"))
-((and_operator) @operator @conceal (#set! conceal "∧"))
-((or_operator) @operator @conceal (#set! conceal "∨"))
+((and_operator) @operator (#set! conceal "∧"))
+((or_operator) @operator (#set! conceal "∨"))
 
 (((value_name) @function.call (#eq? @function.call "not")) (#set! conceal "¬"))
 (((value_name) @function.call (#eq? @function.call "sqrt")) (#set! conceal "√"))
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	2024-11-21 23:09:01.239941240 +0000
+++ new-nvim-tree-sitter-unicode-conceal/after/queries/php/highlights.scm	2024-11-21 23:09:01.239941240 +0000
@@ -2,26 +2,26 @@
 ;; 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 "⁇"))
+("function" @keyword.function (#set! conceal "λ"))
+("return" @keyword.function (#set! conceal "⮡"))
+("=" @operator (#set! conceal "≔"))
+("::" @operator (#set! conceal "∷"))
+("->" @operator (#set! conceal "→"))
+("=>" @operator (#set! conceal "⇒"))
+("?->" @operator (#set! conceal "⇨"))
+("??" @operator (#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 (#set! conceal "="))
+(["!=" "<>"] @operator (#set! conceal "≠"))
+("===" @operator (#set! conceal "≡"))
+("!==" @operator (#set! conceal "≢"))
+("<=" @operator (#set! conceal "≤"))
+("<=" @operator (#set! conceal "≥"))
+("<=>" @operator (#set! conceal "⇔"))
+("*" @operator (#set! conceal "×"))
+("/" @operator (#set! conceal "÷"))
+("!" @operator (#set! conceal "¬"))
+("&&" @operator (#set! conceal "∧"))
+("||" @operator (#set! conceal "∨"))
 
 ((null) @constant.builtin (#set! conceal "∅"))