From b5dcfa4345287ae20edc52093c2546de39589ec8 Mon Sep 17 00:00:00 2001 From: Thomas Vanbesien Date: Tue, 19 May 2026 19:29:42 +0200 Subject: fix: root Claude Code lua_ls at ~/.config/nvim - lua-lsp rooted lua_ls at $HOME: ignored .luarc.json, flooded 'Undefined global vim', no IntelliSense on the nvim config. - New local marketplace/plugin lua-lsp-local@local-lsp: .lsp.json sets workspaceFolder=~/.config/nvim, Neovim runtime as workspace.library, diagnostics.libraryFiles=Disable. - Disable official lua-lsp (enabledPlugins) so one server owns .lua. - Verified by probe: rootUri now file:///home/tvanbesi/.config/nvim, flood gone. - Annotate the intentional open_floating_preview monkey-patch (clears the now-correct duplicate-set-field). - README: validate/add/install/disable repro + plugin-update workflow. --- .claude/settings.json | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to '.claude/settings.json') diff --git a/.claude/settings.json b/.claude/settings.json index e60abaf..9e93121 100644 --- a/.claude/settings.json +++ b/.claude/settings.json @@ -52,8 +52,17 @@ }, "enabledPlugins": { "clangd-lsp@claude-plugins-official": true, - "lua-lsp@claude-plugins-official": true, - "pyright-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" + } + } }, "theme": "auto", "editorMode": "vim", -- cgit v1.3.1