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

Showing details for patch 470b26c3c050d23ef361d3476e2f3fad7b118a5b.
2024-05-19 (Sun), 9:03 AM - toastal - 470b26c3c050d23ef361d3476e2f3fad7b118a5b

≔ means assignment

Summary of changes
3 files modified with 6 lines added and 6 lines removed
  • after/queries/erlang/highlights.scm with 2 added and 2 removed lines
  • after/queries/lua/highlights.scm with 2 added and 2 removed lines
  • after/queries/ocaml/highlights.scm with 2 added and 2 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-24 19:24:44.683264304 +0000
+++ new-nvim-tree-sitter-unicode-conceal/after/queries/erlang/highlights.scm	2024-11-24 19:24:44.683264304 +0000
@@ -8,8 +8,8 @@
 ("<-" @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 "="))
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-24 19:24:44.683264304 +0000
+++ new-nvim-tree-sitter-unicode-conceal/after/queries/lua/highlights.scm	2024-11-24 19:24:44.683264304 +0000
@@ -5,8 +5,8 @@
 ("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 "≔")))
+(assignment_statement ("=" @operator.assignment @conceal (#set! conceal "≔")))
+(field ("=" @punctuation.delimeter @conceal (#set! conceal "≕")))
 
 ("and" @keyword.operator @conceal (#set! conceal "∧"))
 ("or" @keyword.operator @conceal (#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-24 19:24:44.683264304 +0000
+++ new-nvim-tree-sitter-unicode-conceal/after/queries/ocaml/highlights.scm	2024-11-24 19:24:44.683264304 +0000
@@ -8,8 +8,8 @@
 ("<-" @punctuation.delimeter @conceal (#set! conceal "←"))
 (";;" @punctuation.delimeter @conceal (#set! conceal "◊"))
 ("::" @operator @conceal (#set! conceal "∷"))
-(let_binding ("=" @operator.assignment (#set! conceal "≕")))
-(let_binding (":=" @operator.assignment (#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 "×")))