diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2018-05-16 19:08:16 -0700 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2018-05-16 19:08:59 -0700 |
| commit | ad94ed3653e2b7a9f68855670a32617aa80a637c (patch) | |
| tree | bfde4d9e82635aea25336bfda4bf73e819347a93 /core/text.nom | |
| parent | 6f6c4377b236902566794c3d06820f3fdd7ec28c (diff) | |
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.
Diffstat (limited to 'core/text.nom')
| -rw-r--r-- | core/text.nom | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
