From 96e49359ded717d7e3953875a50e59eb06a5233e Mon Sep 17 00:00:00 2001 From: Sunil Nimmagadda Date: Wed, 4 Nov 2026 11:04:16 +0530 Subject: Let's tune luafmt to mimic editorconfig. emmylua_ls has a built-in formatter that has slightly different defaults and lua_ls. --- .luafmt.toml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .luafmt.toml (limited to '.luafmt.toml') diff --git a/.luafmt.toml b/.luafmt.toml new file mode 100644 index 0000000..e63ec18 --- /dev/null +++ b/.luafmt.toml @@ -0,0 +1,6 @@ +[layout] +max_line_width = 81 + +[output] +trailing_comma = "Multiline" +trailing_table_separator = "Inherit" -- cgit v1.3