Skip to content

Commit 753d955

Browse files
xmtp-coder-agentclaude
andcommitted
Add Zed editor configuration for Go development
Configure .zed/settings.json with gopls and golangci-lint v2 language servers, format-on-save, and hard tabs matching Go conventions. Points golangci-lint at the project's existing config at dev/.golangci.yaml. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 2486aaa commit 753d955

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

.zed/settings.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"languages": {
3+
"Go": {
4+
"hard_tabs": true,
5+
"tab_size": 4,
6+
"format_on_save": "on",
7+
"formatter": "language_server",
8+
"language_servers": ["gopls", "golangci-lint", "..."]
9+
}
10+
},
11+
"lsp": {
12+
"golangci-lint": {
13+
"initialization_options": {
14+
"command": [
15+
"golangci-lint",
16+
"run",
17+
"--config=./dev/.golangci.yaml",
18+
"--output.json.path",
19+
"stdout",
20+
"--show-stats=false",
21+
"--output.text.path="
22+
]
23+
}
24+
}
25+
}
26+
}

0 commit comments

Comments
 (0)