diff --git a/data/core/commands/doc.lua b/data/core/commands/doc.lua index 0530f6e9..e840dbab 100644 --- a/data/core/commands/doc.lua +++ b/data/core/commands/doc.lua @@ -340,10 +340,11 @@ local commands = { local text = dv.doc:get_text(line1, 1, line1, col1) if #text >= indent_size and text:find("^ *$") then dv.doc:delete_to_cursor(idx, 0, -indent_size) - return + goto continue end end dv.doc:delete_to_cursor(idx, translate.previous_char) + ::continue:: end end,