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

Showing details for patch 18e8f9f4d4af539c2622ce83b925e939d9132aa2.
2024-05-19 (Sun), 11:23 AM - toastal - 18e8f9f4d4af539c2622ce83b925e939d9132aa2

array

Summary of changes
1 files modified with 3 lines added and 0 lines removed
  • after/queries/ocaml/highlights.scm with 3 added and 0 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-24 17:17:27.120863208 +0000
+++ new-nvim-tree-sitter-unicode-conceal/after/queries/ocaml/highlights.scm	2024-11-24 17:17:27.120863208 +0000
@@ -10,6 +10,9 @@
 ("::" @operator (#set! conceal "∷"))
 (let_binding ("=" @operator.assignment (#set! conceal "≔")))
 (let_binding (":=" @operator.assignment (#set! conceal "⩴")))
+(array_expression ("[|" @punctuation.bracket.ocaml . _) (#set! conceal "⟦"))
+(array_expression ("|]" @punctuation.bracket.ocaml .) (#set! conceal "⟧"))
+
 
 (constructor_declaration ("*" @operator (#set! conceal "×")))
 (tuple_type ("*" @operator (#set! conceal "×")))