diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-04-14 15:19:30 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-04-14 15:19:30 +0900 |
| commit | 44fa8b4634b5d28f406ed11165d5eabbf2cdb6bd (patch) | |
| tree | e950ac9de2203c20c9e07f689df6e2c6be834e25 /ar/.config/TheSiahxyz | |
| parent | 8e787152c381ee957777d8806109c42a2bbb9d06 (diff) | |
modified plugins/ai.lua, modified plugins/treesitter.lua, modified git/attributes
Diffstat (limited to 'ar/.config/TheSiahxyz')
| -rw-r--r-- | ar/.config/TheSiahxyz/lua/TheSiahxyz/plugins/ai.lua | 10 | ||||
| -rw-r--r-- | ar/.config/TheSiahxyz/lua/TheSiahxyz/plugins/treesitter.lua | 8 |
2 files changed, 17 insertions, 1 deletions
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 = { { "<leader>a", nil, desc = "AI/Claude Code" }, { "<leader>ac", "<cmd>ClaudeCode<cr>", 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" }, + { "<leader>T", group = "Treesitter" }, + }) + end, keys = { { "<leader>TU", ":TSUpdate<cr>", desc = "Update treesitter" }, { @@ -30,6 +37,7 @@ return { "python", "rust", "sql", + "tsx", "typescript", "vim", "vimdoc", |
