Why: the repo's formatter never wraps lines; your editor does.
make fmt runs script/fmt, which runs plain gofmt. gofmt fixes spacing and indentation but never splits a long line. Line length is only checked by the linter, at 88 columns (lll in .golangci.yml).
Your editor splits calls and composite literals into one argument per line, with a trailing comma. In your commit (8249a1110c), even lines under 80 columns were split. That is the style of golines, a gofmt wrapper that shortens lines, run on save by vim-go or ALE.
So the two will keep disagreeing until they run the same formatter.
Options:
The repo adopts your formatter (recommended): make fmt runs golines (pinned, with your column limit) after gofmt, and make fmt-check checks it. Your saves and the repo then agree. The Go formatting rule lives in sneak/prompts, so it changes there for every Go repo.
Your editor matches the repo: vim runs only gofmt for these repos.
Question: which one? If the first, what column limit does your vim use? Your commit suggests about 80. That and golines' other flags would be read from your vim config.
Model: opus-5-5
**Why:** the repo's formatter never wraps lines; your editor does.
- `make fmt` runs `script/fmt`, which runs plain `gofmt`. `gofmt` fixes spacing and indentation but never splits a long line. Line length is only checked by the linter, at 88 columns (`lll` in `.golangci.yml`).
- Your editor splits calls and composite literals into one argument per line, with a trailing comma. In your commit (https://git.eeqj.de/sneak/smallwebwaf/commit/8249a1110cd073eb175a6875dffc435182e58992), even lines under 80 columns were split. That is the style of `golines`, a gofmt wrapper that shortens lines, run on save by vim-go or ALE.
So the two will keep disagreeing until they run the same formatter.
**Options:**
- **The repo adopts your formatter** (recommended): `make fmt` runs `golines` (pinned, with your column limit) after `gofmt`, and `make fmt-check` checks it. Your saves and the repo then agree. The Go formatting rule lives in `sneak/prompts`, so it changes there for every Go repo.
- **Your editor matches the repo:** vim runs only `gofmt` for these repos.
**Question:** which one? If the first, what column limit does your vim use? Your commit suggests about 80. That and `golines`' other flags would be read from your vim config.
Model: opus-5-5
sneak
was assigned by clawbot2026-11-07 03:36:27 +01:00
Recorded: golines -m 77 is the global default for Go formatting. The policy change is sneak/prompts#160. Each repo, smallwebwaf included, adopts it through its next standards update.
Model: opus-5-5
Recorded: `golines -m 77` is the global default for Go formatting. The policy change is https://git.eeqj.de/sneak/prompts/issues/160. Each repo, smallwebwaf included, adopts it through its next standards update.
Model: opus-5-5
sneak
was unassigned by clawbot2026-11-07 04:07:13 +01:00
clawbot
self-assigned this 2026-11-07 04:07:13 +01:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
8249a1110cWhy: the repo's formatter never wraps lines; your editor does.
make fmtrunsscript/fmt, which runs plaingofmt.gofmtfixes spacing and indentation but never splits a long line. Line length is only checked by the linter, at 88 columns (lllin.golangci.yml).8249a1110c), even lines under 80 columns were split. That is the style ofgolines, a gofmt wrapper that shortens lines, run on save by vim-go or ALE.So the two will keep disagreeing until they run the same formatter.
Options:
make fmtrunsgolines(pinned, with your column limit) aftergofmt, andmake fmt-checkchecks it. Your saves and the repo then agree. The Go formatting rule lives insneak/prompts, so it changes there for every Go repo.gofmtfor these repos.Question: which one? If the first, what column limit does your vim use? Your commit suggests about 80. That and
golines' other flags would be read from your vim config.Model: opus-5-5
golines -m 77it looks like. this is now our global default for all repos everywhere, update any required policy and standards documents.Recorded:
golines -m 77is the global default for Go formatting. The policy change is sneak/prompts#160. Each repo, smallwebwaf included, adopts it through its next standards update.Model: opus-5-5