From 44fa8b4634b5d28f406ed11165d5eabbf2cdb6bd Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Tue, 14 Apr 2026 15:19:30 +0900 Subject: modified plugins/ai.lua, modified plugins/treesitter.lua, modified git/attributes --- ar/.config/TheSiahxyz/lua/TheSiahxyz/plugins/ai.lua | 10 +++++++++- ar/.config/TheSiahxyz/lua/TheSiahxyz/plugins/treesitter.lua | 8 ++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) (limited to 'ar/.config/TheSiahxyz') diff --git a/ar/.config/TheSiahxyz/lua/TheSiahxyz/plugins/ai.lua b/ar/.config/TheSiahxyz/lua/TheSiahxyz/plugins/ai.lua index ca7da40..820bf6f 100644 --- a/ar/.config/TheSiahxyz/lua/TheSiahxyz/plugins/ai.lua +++ b/ar/.config/TheSiahxyz/lua/TheSiahxyz/plugins/ai.lua @@ -262,7 +262,15 @@ return { { "coder/claudecode.nvim", dependencies = { "folke/snacks.nvim" }, - config = true, + opts = { + terminal_cmd = "~/.local/bin/claude", -- Point to local installation + }, + config = function() + require("claudecode").setup({ + -- Top-level aliases are supported and forwarded to terminal config + git_repo_cwd = true, + }) + end, keys = { { "a", nil, desc = "AI/Claude Code" }, { "ac", "ClaudeCode", desc = "Toggle Claude" }, diff --git a/ar/.config/TheSiahxyz/lua/TheSiahxyz/plugins/treesitter.lua b/ar/.config/TheSiahxyz/lua/TheSiahxyz/plugins/treesitter.lua index 5080de4..bedc294 100644 --- a/ar/.config/TheSiahxyz/lua/TheSiahxyz/plugins/treesitter.lua +++ b/ar/.config/TheSiahxyz/lua/TheSiahxyz/plugins/treesitter.lua @@ -8,6 +8,13 @@ return { install_dir = vim.fn.stdpath("data") .. "/treesitter", }) end, + init = function() + local wk = require("which-key") + wk.add({ + mode = { "n" }, + { "T", group = "Treesitter" }, + }) + end, keys = { { "TU", ":TSUpdate", desc = "Update treesitter" }, { @@ -30,6 +37,7 @@ return { "python", "rust", "sql", + "tsx", "typescript", "vim", "vimdoc", -- cgit v1.2.3