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

Showing details for patch 49559900aefd83e462ea027fa9c51fe7944377e7.
2023-10-27 (Fri), 8:52 AM - toastal - 49559900aefd83e462ea027fa9c51fe7944377e7

OCaml: ←, ×, ≕ operator updates

Summary of changes
1 files modified with 3 lines added and 1 lines removed
  • after/queries/ocaml/highlights.scm with 3 added and 1 removed lines
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-25 01:54:22.649402068 +0000
+++ new-nvim-tree-sitter-unicode-conceal/after/queries/ocaml/highlights.scm	2024-11-25 01:54:22.649402068 +0000
@@ -5,12 +5,14 @@
 (["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 "∷"))
-(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 "×")))
 
 (((rel_operator) @operator (#eq? @operator "<>")) (#set! conceal "≠"))
 (((rel_operator) @operator (#eq? @operator "==")) (#set! conceal "≡"))