From 9b6ca1faf43b7b837929ece57fd048809d677f15 Mon Sep 17 00:00:00 2001 From: sammyette <38820196+TorchedSammy@users.noreply.github.com> Date: Sun, 17 Oct 2021 18:09:42 -0400 Subject: [PATCH] style: make modules underlined and colored --- preload.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/preload.lua b/preload.lua index 0874af8..ae0810b 100644 --- a/preload.lua +++ b/preload.lua @@ -71,7 +71,9 @@ These are the global Hilbish functions that are always available and not part of return end - local modules = fs.readdir(moddocPath) + local modules = table.map(fs.readdir(moddocPath), function(f) + return lunacolors.underline(lunacolors.blue(f:sub(1, -5))) + end) io.write [[ Welcome to Hilbish's doc tool! Here you can find documentation for builtin