summaryrefslogtreecommitdiffstats
path: root/.claude
diff options
context:
space:
mode:
authorThomas Vanbesien <tvanbesi@proton.me>2026-06-10 22:49:52 +0200
committerThomas Vanbesien <tvanbesi@proton.me>2026-06-10 22:49:52 +0200
commit68340155e3d8b80cddddff9e2501b3e33eb509a9 (patch)
tree17a481a4ee9c3bcc2c49bcfb61d93018d69605d7 /.claude
parent0f84e347c76c48a10cf15c90b97219455bb6f57a (diff)
downloaddotfiles-68340155e3d8b80cddddff9e2501b3e33eb509a9.tar.gz
dotfiles-68340155e3d8b80cddddff9e2501b3e33eb509a9.zip
misc(claude): remove custom lua_ls plugin
It was there just so that the LSP doesn't use the current directory (where Claude Code runs) as the working directory (which is annoying since the working tree is $HOME and I don't want to litter it with .luarc.json kind of files).
Diffstat (limited to '.claude')
-rw-r--r--.claude/lsp-marketplace/.claude-plugin/marketplace.json13
-rw-r--r--.claude/lsp-marketplace/README.md38
-rw-r--r--.claude/lsp-marketplace/plugins/lua-lsp-local/.claude-plugin/plugin.json8
-rw-r--r--.claude/lsp-marketplace/plugins/lua-lsp-local/.lsp.json25
-rw-r--r--.claude/settings.json18
5 files changed, 5 insertions, 97 deletions
diff --git a/.claude/lsp-marketplace/.claude-plugin/marketplace.json b/.claude/lsp-marketplace/.claude-plugin/marketplace.json
deleted file mode 100644
index 4821b64..0000000
--- a/.claude/lsp-marketplace/.claude-plugin/marketplace.json
+++ /dev/null
@@ -1,13 +0,0 @@
-{
- "name": "local-lsp",
- "owner": {
- "name": "tvanbesi"
- },
- "plugins": [
- {
- "name": "lua-lsp-local",
- "source": "./plugins/lua-lsp-local",
- "description": "lua-language-server rooted at the Neovim config, with the Neovim runtime as library"
- }
- ]
-}
diff --git a/.claude/lsp-marketplace/README.md b/.claude/lsp-marketplace/README.md
deleted file mode 100644
index 135b0f9..0000000
--- a/.claude/lsp-marketplace/README.md
+++ /dev/null
@@ -1,38 +0,0 @@
-# local-lsp marketplace
-
-Local Claude Code marketplace holding `lua-lsp-local` — a `lua-language-server` config that roots at `~/.config/nvim`
-(via `.lsp.json` `workspaceFolder`) with the Neovim runtime as `workspace.library`, so `vim` resolves and the
-`$HOME`-root diagnostic flood is gone.
-
-Why this exists: the official `lua-lsp@claude-plugins-official` roots `lua_ls` at `$HOME`, which ignored
-`~/.config/nvim/.luarc.json` and flooded `Undefined global vim` (no IntelliSense). See memory
-`reference_claude_lua_lsp.md`.
-
-## Install / reproduce (fresh machine)
-
-`settings.json` (`enabledPlugins`, `extraKnownMarketplaces`) carries the result, but on a clean setup run, in order:
-
-```sh
-claude plugin validate /home/tvanbesi/.claude/lsp-marketplace/plugins/lua-lsp-local
-claude plugin marketplace add /home/tvanbesi/.claude/lsp-marketplace
-claude plugin install lua-lsp-local@local-lsp # user scope
-claude plugin disable lua-lsp@claude-plugins-official # one server owns .lua
-```
-
-Then restart the session (LSP servers only start fresh on launch).
-
-## After editing this plugin
-
-Claude copies the plugin to its cache on install; source edits don't apply until:
-
-```sh
-claude plugin marketplace update local-lsp
-claude plugin install lua-lsp-local@local-lsp # reinstall
-```
-
-(or bump `version` in `plugins/lua-lsp-local/.claude-plugin/plugin.json`), then restart.
-
-## Verify
-
-Throwaway-edit a `.lua` file under `~/.config/nvim`; the Claude `lua_ls` (`ps`-child of `claude`) log should show
-`rootUri = file:///home/tvanbesi/.config/nvim` and no `Undefined global vim`.
diff --git a/.claude/lsp-marketplace/plugins/lua-lsp-local/.claude-plugin/plugin.json b/.claude/lsp-marketplace/plugins/lua-lsp-local/.claude-plugin/plugin.json
deleted file mode 100644
index 8819760..0000000
--- a/.claude/lsp-marketplace/plugins/lua-lsp-local/.claude-plugin/plugin.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "name": "lua-lsp-local",
- "description": "lua-language-server configured for the Neovim dotfiles: rooted at ~/.config/nvim with the Neovim runtime as a library so `vim` resolves and the $HOME-root diagnostic flood is avoided.",
- "version": "1.0.0",
- "author": {
- "name": "tvanbesi"
- }
-}
diff --git a/.claude/lsp-marketplace/plugins/lua-lsp-local/.lsp.json b/.claude/lsp-marketplace/plugins/lua-lsp-local/.lsp.json
deleted file mode 100644
index 6d8e3dd..0000000
--- a/.claude/lsp-marketplace/plugins/lua-lsp-local/.lsp.json
+++ /dev/null
@@ -1,25 +0,0 @@
-{
- "lua": {
- "command": "lua-language-server",
- "extensionToLanguage": {
- ".lua": "lua"
- },
- "workspaceFolder": "/home/tvanbesi/.config/nvim",
- "settings": {
- "Lua": {
- "runtime": {
- "version": "LuaJIT"
- },
- "workspace": {
- "checkThirdParty": false,
- "library": [
- "/home/tvanbesi/.local/share/nvim/share/nvim/runtime"
- ]
- },
- "diagnostics": {
- "libraryFiles": "Disable"
- }
- }
- }
- }
-}
diff --git a/.claude/settings.json b/.claude/settings.json
index 3589e3d..8f028d4 100644
--- a/.claude/settings.json
+++ b/.claude/settings.json
@@ -11,6 +11,7 @@
"/home/tvanbesi/Projects/.claude/Projects memory"
]
},
+ "model": "fable",
"hooks": {
"Notification": [
{
@@ -65,21 +66,12 @@
},
"enabledPlugins": {
"clangd-lsp@claude-plugins-official": true,
- "lua-lsp@claude-plugins-official": false,
- "pyright-lsp@claude-plugins-official": true,
- "lua-lsp-local@local-lsp": true
- },
- "extraKnownMarketplaces": {
- "local-lsp": {
- "source": {
- "source": "directory",
- "path": "/home/tvanbesi/.claude/lsp-marketplace"
- }
- }
+ "lua-lsp@claude-plugins-official": true,
+ "pyright-lsp@claude-plugins-official": true
},
+ "extraKnownMarketplaces": {},
"effortLevel": "high",
"theme": "auto",
"editorMode": "vim",
- "autoCompactEnabled": false,
- "model": "fable"
+ "autoCompactEnabled": false
}