Files
evan 291f0f20b5 build: add a format target and one shared editor config
The Lua modules were split between tabs and spaces because nothing pinned a
style; .editorconfig is what lua-language-server reads on save, so the editor
and the tree now agree. clang-format already had a config and left native/
unchanged. Embedded modules regenerate from the reformatted ui.lua.
2026-08-04 13:19:58 -04:00

19 lines
351 B
INI

root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
# Read by lua-language-server, so on-save formatting matches the majority of
# the tree rather than drifting per editor.
[*.lua]
indent_style = space
indent_size = 2
max_line_length = 120
[*.{c,cpp,h}]
indent_style = space
indent_size = 2