diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-06-15 21:15:06 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-06-15 21:15:06 +0900 |
| commit | 74e7dd0f260daed67c60dfecec84922ba182329c (patch) | |
| tree | 8ecdba94b9f573636b786ff2e9d015c7437e4823 /ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/context.lua | |
| parent | b10343cdb8f33b169700d6a5d5260751a825f8ac (diff) | |
updates
Diffstat (limited to 'ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/context.lua')
| -rw-r--r-- | ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/context.lua | 9 |
1 files changed, 4 insertions, 5 deletions
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" }, "<leader>zc", "<cmd>TSContextToggle<cr>", { desc = "Toggle context" }), - }, + end, { silent = true, desc = "Go to context" }) + vim.keymap.set({ "n", "v" }, "<leader>zc", "<cmd>TSContextToggle<cr>", { desc = "Toggle context" }) + end, } |
