From e67c549714276f00644ea4b76b8e1b475a545f1c Mon Sep 17 00:00:00 2001 From: TorchedSammy <38820196+TorchedSammy@users.noreply.github.com> Date: Mon, 22 Nov 2021 18:29:26 -0500 Subject: [PATCH] fix: get function docs for normal modules (regression from 52a6eb21252537fcdab32c99f2474b84c3e41f03) --- preload.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/preload.lua b/preload.lua index e5e9311..af47631 100644 --- a/preload.lua +++ b/preload.lua @@ -77,6 +77,9 @@ These are the global Hilbish functions that are always available and not part of return 1 end + if not funcdocs then + funcdocs = f:read '*a' + end local desc = '' local ok = pcall(require, mod) if ok then