chore: add gopls LSP configuration for Claude Code
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2
.claude/gopls-wrapper.sh
Executable file
2
.claude/gopls-wrapper.sh
Executable file
@@ -0,0 +1,2 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
exec nix develop --quiet -c gopls "$@"
|
||||||
10
.claude/settings.json
Normal file
10
.claude/settings.json
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"lspServers": {
|
||||||
|
"gopls": {
|
||||||
|
"command": ".claude/gopls-wrapper.sh",
|
||||||
|
"extensionToLanguage": {
|
||||||
|
".go": "go"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user