From 74e7dd0f260daed67c60dfecec84922ba182329c Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Sun, 15 Jun 2025 21:15:06 +0900 Subject: updates --- ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/context.lua | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/context.lua') diff --git a/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/context.lua b/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/context.lua index e8979c8..1daaa54 100644 --- a/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/context.lua +++ b/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/context.lua @@ -16,11 +16,10 @@ return { zindex = 20, -- The Z-index of the context window on_attach = nil, -- (fun(buf: integer): boolean) return false to disable attaching }) - end, - keys = { + vim.keymap.set("n", "[t", function() require("treesitter-context").go_to_context(vim.v.count1) - end, { silent = true, desc = "Go to context" }), - vim.keymap.set({ "n", "v" }, "zc", "TSContextToggle", { desc = "Toggle context" }), - }, + end, { silent = true, desc = "Go to context" }) + vim.keymap.set({ "n", "v" }, "zc", "TSContextToggle", { desc = "Toggle context" }) + end, } -- cgit v1.2.3