summaryrefslogtreecommitdiff
path: root/ar/.config/TheSiahxyz
diff options
context:
space:
mode:
Diffstat (limited to 'ar/.config/TheSiahxyz')
-rw-r--r--ar/.config/TheSiahxyz/lua/TheSiahxyz/plugins/ai.lua10
-rw-r--r--ar/.config/TheSiahxyz/lua/TheSiahxyz/plugins/treesitter.lua8
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",