Skip to content

Instantly share code, notes, and snippets.

@hqman
Last active January 4, 2026 00:26
Show Gist options
  • Select an option

  • Save hqman/72230128105b548db5927cc16f577585 to your computer and use it in GitHub Desktop.

Select an option

Save hqman/72230128105b548db5927cc16f577585 to your computer and use it in GitHub Desktop.
Claude Code LSP Setup: How to Apply the Patch and Verify It Works

Claude Code LSP Patch Setup Guide

This patch is required to get Claude Code LSP working properly.

Step 1: Install the LSP plugin

Type /plugin to open the plugin list. Search for the LSP you need, such as TypeScript or Python, and install it.

Step 2: Download and apply the patch

Download the script:

curl -o  apply-claude-code-2.0.76-lsp-fix.sh \
https://gist.githubusercontent.com/Zamua/f7ca58ce5dd9ba61279ea195a01b190c/raw/apply-claude-code-2.0.76-lsp-fix.sh

Make it executable:

chmod +x ./apply-claude-code-2.0.76-lsp-fix.sh

Run the fix:

./apply-claude-code-2.0.76-lsp-fix.sh

Step 3: Verify the setup

After installation, run a quick test to confirm LSP features like hover, go to definition, and references are working correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment