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

Showing details for patch ebe69c932c28358777bb22586bdd0625db3fc88f.
2024-01-19 (Fri), 10:31 AM - toastal - ebe69c932c28358777bb22586bdd0625db3fc88f

add round

Summary of changes
1 files modified with 3 lines added and 0 lines removed
  • after/queries/lua/highlights.scm with 3 added and 0 removed lines
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 22:45:57.867224585 +0000
+++ new-nvim-tree-sitter-unicode-conceal/after/queries/lua/highlights.scm	2024-11-24 22:45:57.867224585 +0000
@@ -26,6 +26,9 @@
 ((((dot_index_expression table: (identifier) @variable field: (identifier) @field) @function.call)
   (#eq? @variable "math") (#eq? @field "floor"))
  (#set! conceal "⌊"))
+((((dot_index_expression table: (identifier) @variable field: (identifier) @field) @function.call)
+  (#eq? @variable "math") (#eq? @field "round"))
+ (#set! conceal "⁅"))
 ((((dot_index_expression table: (identifier) @variable field: (identifier) @field) @constant)
   (#eq? @variable "math") (#eq? @field "pi"))
  (#set! conceal "π"))