From ad94ed3653e2b7a9f68855670a32617aa80a637c Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Wed, 16 May 2018 19:08:16 -0700 Subject: Moved all the tree->lua and tree->nomsu code back into single functions in nomsu.moon, and cleaned up how Vars are treated, since they are not atomic. --- core/text.nom | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/text.nom') diff --git a/core/text.nom b/core/text.nom index 7b945cd..b7fd2cf 100644 --- a/core/text.nom +++ b/core/text.nom @@ -44,7 +44,7 @@ lua> ".." local reset = "'"..colors["reset color"].."'"; nomsu:define_compile_action(name, function(tree) return Lua.Value(nil, color); end); nomsu:define_compile_action(name.." %", function(\%) - return Lua.Value(nil, color, "..", \%:as_lua(nomsu), "..", reset); + return Lua.Value(nil, color, "..", \(% as lua), "..", reset); end); end end -- cgit v1.2.3