changeset 13881:f138b8a75468

teal: Tweak formatting of generated Lua
author Kim Alvefur <zash@zash.se>
date Fri, 09 May 2025 00:48:00 +0200
parents 9e36180e1528
children 1ff24220fa2c
files GNUmakefile
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/GNUmakefile	Fri May 09 00:31:38 2025 +0200
+++ b/GNUmakefile	Fri May 09 00:48:00 2025 +0200
@@ -141,7 +141,7 @@
 vpath %.tl teal-src/prosody
 %.lua: %.tl
 	tl -I teal-src/ --gen-compat off --gen-target 5.1 gen $^ -o $@
-	-lua-format -i $@
+	-lua-format -i --no-keep-simple-control-block-one-line --no-keep-simple-function-one-line $@
 
 teal: util/jsonschema.lua util/datamapper.lua util/jsonpointer.lua