summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ar/.config/TheSiahxyz/lua/TheSiahxyz/plugins/ai.lua10
-rw-r--r--ar/.config/TheSiahxyz/lua/TheSiahxyz/plugins/treesitter.lua8
-rw-r--r--ar/.config/git/attributes186
3 files changed, 110 insertions, 94 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",
diff --git a/ar/.config/git/attributes b/ar/.config/git/attributes
index 2760f63..45c2384 100644
--- a/ar/.config/git/attributes
+++ b/ar/.config/git/attributes
@@ -1,95 +1,95 @@
-# Common settings that generally should always be used with your language specific settings
-
-# Auto detect text files and perform LF normalization
-* text=auto eol=lf
-
+## Common settings that generally should always be used with your language specific settings
#
-# The above will handle all files NOT found below
+## Auto detect text files and perform LF normalization
+#* text=auto eol=lf
#
-
-# Documents
-*.bibtex text diff=bibtex
-*.doc diff=astextplain
-*.DOC diff=astextplain
-*.docx diff=astextplain
-*.DOCX diff=astextplain
-*.dot diff=astextplain
-*.DOT diff=astextplain
-*.pdf diff=astextplain
-*.PDF diff=astextplain
-*.rtf diff=astextplain
-*.RTF diff=astextplain
-*.md text diff=markdown
-*.mdx text diff=markdown
-*.tex text diff=tex
-*.adoc text
-*.textile text
-*.mustache text
-*.csv text eol=lf
-*.tab text
-*.tsv text
-*.txt text
-*.sql text eol=lf
-*.epub diff=astextplain
-
-# Graphics
-*.png binary
-*.jpg binary
-*.jpeg binary
-*.gif binary
-*.tif binary
-*.tiff binary
-*.ico binary
-# SVG treated as text by default.
-# *.svg text
-# If you want to treat it as binary,
-# use the following line instead.
-*.svg binary
-*.eps binary
-
-# Scripts
-*.bash text eol=lf
-*.fish text eol=lf
-*.ksh text eol=lf
-*.sh text eol=lf
-*.zsh text eol=lf
-# These are explicitly windows files and should use crlf
-# *.bat text eol=crlf
-# *.cmd text eol=crlf
-# *.ps1 text eol=crlf
-
-# Serialisation
-*.json text
-*.toml text
-*.xml text
-*.yaml text
-*.yml text
-
-# Archives
-*.7z binary
-*.bz binary
-*.bz2 binary
-*.bzip2 binary
-*.gz binary
-*.lz binary
-*.lzma binary
-*.rar binary
-*.tar binary
-*.taz binary
-*.tbz binary
-*.tbz2 binary
-*.tgz binary
-*.tlz binary
-*.txz binary
-*.xz binary
-*.Z binary
-*.zip binary
-*.zst binary
-
-# Text files where line endings should be preserved
-*.patch -text
-
-# Exclude files from exporting
-.gitattributes export-ignore
-.gitignore export-ignore
-.gitkeep export-ignore
+##
+## The above will handle all files NOT found below
+##
+#
+## Documents
+#*.bibtex text diff=bibtex
+#*.doc diff=astextplain
+#*.DOC diff=astextplain
+#*.docx diff=astextplain
+#*.DOCX diff=astextplain
+#*.dot diff=astextplain
+#*.DOT diff=astextplain
+#*.pdf diff=astextplain
+#*.PDF diff=astextplain
+#*.rtf diff=astextplain
+#*.RTF diff=astextplain
+#*.md text diff=markdown
+#*.mdx text diff=markdown
+#*.tex text diff=tex
+#*.adoc text
+#*.textile text
+#*.mustache text
+#*.csv text eol=lf
+#*.tab text
+#*.tsv text
+#*.txt text
+#*.sql text eol=lf
+#*.epub diff=astextplain
+#
+## Graphics
+#*.png binary
+#*.jpg binary
+#*.jpeg binary
+#*.gif binary
+#*.tif binary
+#*.tiff binary
+#*.ico binary
+## SVG treated as text by default.
+## *.svg text
+## If you want to treat it as binary,
+## use the following line instead.
+#*.svg binary
+#*.eps binary
+#
+## Scripts
+#*.bash text eol=lf
+#*.fish text eol=lf
+#*.ksh text eol=lf
+#*.sh text eol=lf
+#*.zsh text eol=lf
+## These are explicitly windows files and should use crlf
+## *.bat text eol=crlf
+## *.cmd text eol=crlf
+## *.ps1 text eol=crlf
+#
+## Serialisation
+#*.json text
+#*.toml text
+#*.xml text
+#*.yaml text
+#*.yml text
+#
+## Archives
+#*.7z binary
+#*.bz binary
+#*.bz2 binary
+#*.bzip2 binary
+#*.gz binary
+#*.lz binary
+#*.lzma binary
+#*.rar binary
+#*.tar binary
+#*.taz binary
+#*.tbz binary
+#*.tbz2 binary
+#*.tgz binary
+#*.tlz binary
+#*.txz binary
+#*.xz binary
+#*.Z binary
+#*.zip binary
+#*.zst binary
+#
+## Text files where line endings should be preserved
+#*.patch -text
+#
+## Exclude files from exporting
+#.gitattributes export-ignore
+#.gitignore export-ignore
+#.gitkeep export-ignore