From 9d749b72b7e75ade17c86807e6678083c769057a Mon Sep 17 00:00:00 2001 From: Hendrik van Antwerpen Date: Thu, 29 Jan 2026 16:29:07 +0100 Subject: [PATCH] Add Claude Code marketplace to install LSP plugin --- .claude-plugin/marketplace.json | 17 +++++++++++++++++ clients/claude-code/.lsp.json | 27 +++++++++++++++++++++++++++ clients/claude-code/README.md | 30 ++++++++++++++++++++++++++++++ 3 files changed, 74 insertions(+) create mode 100644 .claude-plugin/marketplace.json create mode 100644 clients/claude-code/.lsp.json create mode 100644 clients/claude-code/README.md diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json new file mode 100644 index 00000000..df9564dd --- /dev/null +++ b/.claude-plugin/marketplace.json @@ -0,0 +1,17 @@ +{ + "name": "nuanced-dev", + "owner": { + "name": "Nuanced" + }, + "plugins": [ + { + "name": "lsp", + "description": "Nuanced LSP plugin for Claude Code", + "version": "0.5.3", + "homepage": "https://github.com/nuanced-dev/lsp", + "category": "development", + "source": "./clients/claude-code", + "strict": false + } + ] +} diff --git a/clients/claude-code/.lsp.json b/clients/claude-code/.lsp.json new file mode 100644 index 00000000..da2f9424 --- /dev/null +++ b/clients/claude-code/.lsp.json @@ -0,0 +1,27 @@ +{ + "nuanced-lsp": { + "command": "nuanced-lsp", + "args": ["server", "."], + "extensionToLanguage": { + ".c": "c", + ".h": "c", + ".cpp": "cpp", + ".cc": "cpp", + ".cxx": "cpp", + ".hpp": "cpp", + ".hxx": "cpp", + ".C": "cpp", + ".H": "cpp", + ".cs": "csharp", + ".go": "go", + ".java": "java", + ".php": "php", + ".py": "python", + ".pyi": "python", + ".rb": "ruby", + ".rs": "rust", + ".js": "javascript", + ".ts": "typescript" + } + } +} diff --git a/clients/claude-code/README.md b/clients/claude-code/README.md new file mode 100644 index 00000000..cc5c69b9 --- /dev/null +++ b/clients/claude-code/README.md @@ -0,0 +1,30 @@ +# Nuanced LSP plugin for Claude Code + +Plugin to use the Nuanced LSP server with Claude Code. + +## Installation + +Install Nuanced LSP: + +```bash +npm i -g @nuanced-dev/lsp +``` + +Add the Nuanced marketplace and install the plugin: + +```bash +claude plugin marketplace add nuanced-dev/lsp +claude plugin install lsp@nuanced-dev +``` + +Start using the LSP tool in Claude Code. + +## Caveats + +- The plugin requires that Claude Code is started in the project root, otherwise the LSP workspace will be incorrect. + +- Some people report that the LSP tool only works when running Claude Code thropugh NPM, not when using the native binaries. + +## More Information + +See [@nuanced-dev/lsp](https://www.npmjs.com/package/@nuanced-dev/lsp) package.