hephaestus/.stylua.toml
Erich Blume d85ce3362f infra(nvim): add stylua formatter + prek hook; normalize heph.nvim Lua
A `.stylua.toml` (Spaces/2, else stylua defaults) + a `stylua-system`
prek hook make Lua whitespace formatter-enforced (the repo had no Lua
formatter, so style was hand-maintained and drifted). Normalized the
three non-conformant files in passing. 21 nvim e2e specs still green.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-03 11:55:07 -07:00

5 lines
264 B
TOML

# Opinionated Lua formatting for heph.nvim, enforced via prek's stylua hook.
# Spaces/2 matches the existing plugin style; everything else is stylua's
# defaults (the formatter is the source of truth — don't hand-format).
indent_type = "Spaces"
indent_width = 2