aboutsummaryrefslogtreecommitdiffstats
path: root/alv-lib/vis.moon
diff options
context:
space:
mode:
authors-ol <s-ol@users.noreply.github.com>2020-09-04 12:14:46 +0000
committers-ol <s+removethis@s-ol.nu>2025-03-02 14:24:49 +0000
commit6946779f88fec479239b36128924996d0495dce6 (patch)
treea2f1ee6dc6d3fe60ba0d23cc169ca03e2b71b9c2 /alv-lib/vis.moon
parenthave alv-lua modules return Results, not plain tables (diff)
downloadalive-6946779f88fec479239b36128924996d0495dce6.tar.gz
alive-6946779f88fec479239b36128924996d0495dce6.zip
update lib and docs to new module convention
Diffstat (limited to 'alv-lib/vis.moon')
-rw-r--r--alv-lib/vis.moon12
1 files changed, 8 insertions, 4 deletions
diff --git a/alv-lib/vis.moon b/alv-lib/vis.moon
index f3106a2..9429ef2 100644
--- a/alv-lib/vis.moon
+++ b/alv-lib/vis.moon
@@ -77,7 +77,11 @@ Visualizes `val` as an RGB(A) color with each component in range `0 - range`.
rgb: @state
}
-{
- :bar
- :rgb
-}
+Constant.meta
+ meta:
+ name: 'vis'
+ summary: "Operators for in-editor visualisation."
+
+ value:
+ :bar
+ :rgb