aboutsummaryrefslogtreecommitdiff
path: root/nomsu_tree.moon
diff options
context:
space:
mode:
Diffstat (limited to 'nomsu_tree.moon')
-rw-r--r--nomsu_tree.moon3
1 files changed, 3 insertions, 0 deletions
diff --git a/nomsu_tree.moon b/nomsu_tree.moon
index 5a505d0..28f7acf 100644
--- a/nomsu_tree.moon
+++ b/nomsu_tree.moon
@@ -219,6 +219,9 @@ Tree "Action",
next_space = ""
nomsu\append next_space, arg_nomsu
next_space = "\n.."
+
+ if next_space == " " and #(tostring(nomsu)\match("[^\n]*$")) > MAX_LINE
+ next_space = "\n.."
return nomsu