From f1132c7089593d7fecc9e751affd432b6dd8ed90 Mon Sep 17 00:00:00 2001 From: Georgi Kirilov <> Date: Sat, 31 Oct 2020 11:50:51 +0200 Subject: [PATCH] refmt: clean leading space in special forms too --- edit.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/edit.lua b/edit.lua index f0aae2a..e76da46 100644 --- a/edit.lua +++ b/edit.lua @@ -46,7 +46,7 @@ function M.new(parser, walker, fmt, write, delete) if s.indent then delta = base_indent - s.indent local last_distinguished = fmt:last_distinguished(parent) - if last_distinguished then + if last_distinguished and i > 1 then delta = delta + 1 if i - 1 <= last_distinguished then delta = delta + 2 -- 2.11.4.GIT