From 0425da38370401167cf6e8fc859d10f1c4d57bc8 Mon Sep 17 00:00:00 2001 From: Erik McClure Date: Sun, 3 Dec 2023 17:46:53 -0800 Subject: [PATCH] Put longstring in the right order --- format.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/format.lua b/format.lua index 00fa43b0..624a19b6 100644 --- a/format.lua +++ b/format.lua @@ -176,7 +176,7 @@ local grammar = P { string = element("string", P '"' * Cg(Ct((V "string_literal" + V "splice") ^ 0), "elements") * P '"' * V "endpos"), tokens = space_tokens( - V "comment" + V "function_call" + V "paren_list" + V "string" + V "number" + V "symbol" + V "longstring" + V "comment" + V "function_call" + V "paren_list" + V "longstring" + V "string" + V "number" + V "symbol" ), token_spacer = S "\t " ^ 0,