more experimenting

main
Zynh0722 2023-05-12 20:16:26 -07:00
parent 6a732dc4a1
commit bb33dfad2c
4 changed files with 15 additions and 15 deletions

View File

@ -0,0 +1,13 @@
;; extends
; (jsx_attribute
; ((property_identifier) @name (#eq? @name "className"))
; (string ((string_fragment) @conceal (#set! conceal "󰇘"))))
(jsx_attribute
((property_identifier)(#eq? property_identifier "className"))
(string (string_fragment) @conceal (#set! conceal "󰇘")))
; (#set! @conceal "conceal" "󰇘")
; (jsx_attribute) @conceal (#set! conceal "c")

View File

@ -1,13 +0,0 @@
;; extends
(jsx_attribute
((property_identifier) @name (#eq? @name "className"))
(string ((string_fragment) @conceal (#set! conceal "󰇘"))))
; (jsx_attribute
; ((property_identifier)(#eq? property_identifier "className"))
; (string (string_fragment) @conceal (#set! conceal "󰇘")))
; (#set! @conceal "conceal" "󰇘")
; (jsx_attribute) @conceal (#set! conceal "c")

View File

@ -25,7 +25,7 @@
"mini.pairs": { "branch": "main", "commit": "963b800d0524eadd297199207011b98684205ada" },
"mini.surround": { "branch": "main", "commit": "ea2e9c4cdbddc826dc6eeac69b035f8220f65de5" },
"neo-tree.nvim": { "branch": "v2.x", "commit": "541f5c92d2492041afb354e2df6e74809094b051" },
"neoconf.nvim": { "branch": "main", "commit": "fa024e22d9c11815020ba1d6a2ef03dc97022b5b" },
"neoconf.nvim": { "branch": "main", "commit": "65c575105bff285f502c746c2c7388035cf42b10" },
"neodev.nvim": { "branch": "main", "commit": "6498a07601702349c31909005bb333003e4687d4" },
"noice.nvim": { "branch": "main", "commit": "c2a745a26ae562f1faecbf6177ac53377d2658d5" },
"nui.nvim": { "branch": "main", "commit": "698e75814cd7c56b0dd8af4936bcef2d13807f3c" },

View File

@ -11,5 +11,5 @@ return {
})
end,
},
{ "nvim-treesitter/playground", dependencies = { "nvim-treesitter/nvim-treesitter" }, lazy = true },
{ "nvim-treesitter/playground", dependencies = { "nvim-treesitter/nvim-treesitter" } },
}