Handoff — 2026-09-01 — Dockerfile, compose, YAML and XML colouring (ticket 8)
State
Ticket 8 is done here, on the branch feature/more-syntaxes. Nothing is committed.
The scanners live in turbo-core; this repository's share was small and is finished:
internal/rustlang/templates.go— the snippets template'slanguagescomment lists the nine names Turbo Rust now knows:rust, toml, yaml, markdown, javascript, html, xml, dockerfile, bash.TestTheCreatedSnippetsFileListsEveryLanguageTheEditorKnowsiteratessyntax.Registered(), so the comment cannot fall behind the registry again.docs/{en,fr}/reference/languages.mdgained a YAML, an XML and a Dockerfile section, and its recognition and class tables were brought up to date.- The language counts were corrected across the architecture and colouring explanations, both READMEs and the snippets references.
Suite 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.
In flight
Nothing half-done.
Next steps
- Review and commit on
feature/more-syntaxes, merge tomain. - Wait for turbo-core v0.2.0 to be tagged and published — see turbo-core's handoff of the same date.
go mod tidyto write the v0.2.0 checksum intogo.sum, thenmake check.
Open questions / blockers
- This branch does not build yet.
go.modrequiresturbo-core v0.2.0with no activereplace, and that version is not published.go buildfails withmissing 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 thereplaceline at the bottom ofgo.mod— and remove it again before committing.
Watch out for
- 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". - Anything about how the three new languages are coloured belongs in turbo-core, and its handoff of the same date lists the traps.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
|