aboutsummaryrefslogtreecommitdiff
path: root/nomsu_tree.moon
diff options
context:
space:
mode:
Diffstat (limited to 'nomsu_tree.moon')
-rw-r--r--nomsu_tree.moon5
1 files changed, 4 insertions, 1 deletions
diff --git a/nomsu_tree.moon b/nomsu_tree.moon
index 28f7acf..2b4cc0a 100644
--- a/nomsu_tree.moon
+++ b/nomsu_tree.moon
@@ -192,7 +192,10 @@ Tree "Action",
nomsu\append next_space, bit.value
next_space = " "
else
- arg_nomsu = bit.type != "Block" and bit\as_nomsu(true)
+ arg_nomsu = if last_colon == i-1 and bit.type == "Action" then nil
+ elseif bit.type == "Block" then nil
+ else bit\as_nomsu(true)
+
if arg_nomsu and #arg_nomsu < MAX_LINE
if bit.type == "Action"
if can_use_colon and i > 1