turbo-editors/turbo-gopublic Fork 0
v1.0.1
Commits
Clone
git clone https://git.rickub.com/turbo-editors/turbo-go.git
git clone ssh://git@rickub.com/turbo-editors/turbo-go.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

2026-09-01-more-syntaxes.md · 33 lines · 2.2 KBmarkdown Blame HistoryRaw
📦 Turbo Go 3d7798b k33g 11h ago1# Handoff — 2026-09-01 — Dockerfile, compose, YAML and XML colouring (ticket 8)
2
3## State
4
5Ticket 8 is done here, on the branch `feature/more-syntaxes`. Nothing is committed.
6
7The scanners live in turbo-core; this repository's share was small and is finished:
8
9- `internal/golang/templates.go` — the snippets template's `languages` comment lists the nine names Turbo Go now knows: `go, toml, yaml, markdown, javascript, html, xml, dockerfile, bash`.
10- `TestTheCreatedSnippetsFileListsEveryLanguageTheEditorKnows` iterates `syntax.Registered()`, so the comment cannot fall behind the registry again.
11- `docs/{en,fr}/reference/languages.md` gained a YAML, an XML and a Dockerfile section, and its recognition and class tables were brought up to date.
12- The language counts were corrected across the architecture and colouring explanations, both READMEs and the snippets references.
13
14Suite green, quality gate **PASS 0/0/0**, complexity unchanged. Verified in a real pty: a `Dockerfile`, a `compose.yaml` and a `pom.xml` open and colour, with CDATA contents arriving as a string.
15
16## In flight
17
18Nothing half-done.
19
20## Next steps
21
221. Review and commit on `feature/more-syntaxes`, merge to `main`.
232. Wait for **turbo-core v0.2.0** to be tagged and published — see turbo-core's handoff of the same date.
243. `go mod tidy` to write the v0.2.0 checksum into `go.sum`, then `make check`.
25
26## Open questions / blockers
27
28- **This branch does not build yet.** `go.mod` requires `turbo-core v0.2.0` with no active `replace`, and that version is not published. `go build` fails with `missing go.sum entry for module providing package codeberg.org/turbo-editors/turbo-core/app`, which is the expected error, not a defect. To work on this branch before the release, uncomment the `replace` line at the bottom of `go.mod` — and remove it again before committing.
29
30## Watch out for
31
32- **The snippets template's language list is a comment, and a comment can lie.** The test that iterates `syntax.Registered()` is what stops it; do not replace it with a hardcoded list "for clarity".
33- Anything about how the three new languages are coloured belongs in turbo-core, and its handoff of the same date lists the traps.