From bb33dfad2c6039aef15b67cf85b714611a5fc63b Mon Sep 17 00:00:00 2001 From: Zynh0722 Date: Fri, 12 May 2023 20:16:26 -0700 Subject: [PATCH] more experimenting --- after/queries/typescriptreact/highlights.scm | 13 +++++++++++++ after/typescriptreact/highlights.scm | 13 ------------- lazy-lock.json | 2 +- lua/plugins/treesitter.lua | 2 +- 4 files changed, 15 insertions(+), 15 deletions(-) create mode 100644 after/queries/typescriptreact/highlights.scm delete mode 100644 after/typescriptreact/highlights.scm diff --git a/after/queries/typescriptreact/highlights.scm b/after/queries/typescriptreact/highlights.scm new file mode 100644 index 0000000..ef40d1d --- /dev/null +++ b/after/queries/typescriptreact/highlights.scm @@ -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") diff --git a/after/typescriptreact/highlights.scm b/after/typescriptreact/highlights.scm deleted file mode 100644 index a04c456..0000000 --- a/after/typescriptreact/highlights.scm +++ /dev/null @@ -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") diff --git a/lazy-lock.json b/lazy-lock.json index 6a62c60..f1831f4 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -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" }, diff --git a/lua/plugins/treesitter.lua b/lua/plugins/treesitter.lua index 4b5d3df..c70c2fe 100644 --- a/lua/plugins/treesitter.lua +++ b/lua/plugins/treesitter.lua @@ -11,5 +11,5 @@ return { }) end, }, - { "nvim-treesitter/playground", dependencies = { "nvim-treesitter/nvim-treesitter" }, lazy = true }, + { "nvim-treesitter/playground", dependencies = { "nvim-treesitter/nvim-treesitter" } }, }