From 5c9674880206f66c109adc1bedf8f786166f125f Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 15 Jan 2019 17:48:14 -0800 Subject: Fix for formatting indented code with the format tool. --- nomsu_decompiler.lua | 3 --- 1 file changed, 3 deletions(-) (limited to 'nomsu_decompiler.lua') diff --git a/nomsu_decompiler.lua b/nomsu_decompiler.lua index 9224f25..164470f 100644 --- a/nomsu_decompiler.lua +++ b/nomsu_decompiler.lua @@ -352,9 +352,6 @@ tree_to_nomsu = function(tree) nomsu:add(tree_to_nomsu(chunk)) end end - if not (nomsu:match("\n$")) then - nomsu:add('\n') - end return nomsu elseif "Action" == _exp_0 then local next_space = "" -- cgit v1.2.3