Documentation
¶
Overview ¶
Package formatter renders a parsed Runefile back into its canonical source form. It is the single formatter shared by the CLI (`rune --fmt`) and the language server's textDocument/formatting (spec FR-020); neither shells out.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Format ¶
Format rewrites a parsed Runefile in canonical form: settings, then assignments, then imports/mods, then tasks in declaration order, bodies indented four spaces. It is the single canonical formatter shared by the CLI (`rune --fmt`) and the language server's textDocument/formatting (spec FR-020).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.