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

Showing details for patch 15dbb3df916e64de8371cd107aa0cec96a35864c.
2024-05-19 (Sun), 10:04 AM - toastal - 15dbb3df916e64de8371cd107aa0cec96a35864c

nulls are โˆ…

Summary of changes
4 files modified with 7 lines added and 1 lines removed
  • after/queries/lua/highlights.scm with 2 added and 0 removed lines
  • after/queries/nickel/highlights.scm with 2 added and 0 removed lines
  • after/queries/nix/highlights.scm with 2 added and 0 removed lines
  • after/queries/php/highlights.scm with 1 added and 1 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 19:22:29.167150709 +0000
+++ new-nvim-tree-sitter-unicode-conceal/after/queries/lua/highlights.scm	2024-11-24 19:22:29.167150709 +0000
@@ -35,3 +35,5 @@
 ((((dot_index_expression table: (identifier) @variable field: (identifier) @field) @function.call)
   (#eq? @variable "math") (#eq? @field "sqrt"))
  (#set! conceal "โˆš"))
+
+((nil) @constant.builtin (#set! conceal "โˆ…"))
diff -rN -u old-nvim-tree-sitter-unicode-conceal/after/queries/nickel/highlights.scm new-nvim-tree-sitter-unicode-conceal/after/queries/nickel/highlights.scm
--- old-nvim-tree-sitter-unicode-conceal/after/queries/nickel/highlights.scm	2024-11-24 19:22:29.167150709 +0000
+++ new-nvim-tree-sitter-unicode-conceal/after/queries/nickel/highlights.scm	2024-11-24 19:22:29.167150709 +0000
@@ -21,3 +21,5 @@
 
 ("Bool" @type @conceal (#set! conceal "๐”น"))
 ("Number" @type @conceal (#set! conceal "โ„"))
+
+((atom) @variable @constant.builtin.nickel (#eq? @constant.builtin.nickel "null") (#set! conceal "โˆ…"))
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-24 19:22:29.167150709 +0000
+++ new-nvim-tree-sitter-unicode-conceal/after/queries/nix/highlights.scm	2024-11-24 19:22:29.167150709 +0000
@@ -17,3 +17,5 @@
 ("*" @operator @conceal (#set! conceal "ร—"))
 ("/" @operator @conceal (#set! conceal "รท"))
 ("//" @operator @conceal (#set! conceal "โซฝ"))
+
+((identifier) @constant.builtin (#eq? @constant.builtin "null") (#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-24 19:22:29.167150709 +0000
+++ new-nvim-tree-sitter-unicode-conceal/after/queries/php/highlights.scm	2024-11-24 19:22:29.167150709 +0000
@@ -24,4 +24,4 @@
 ("&&" @operator @conceal (#set! conceal "โˆง"))
 ("||" @operator @conceal (#set! conceal "โˆจ"))
 
-((null) @constant.builtin @conceal (#set! conceal "โˆ…"))
+((null) @constant.builtin (#set! conceal "โˆ…"))