mirror of
https://github.com/Hilbis/Hilbish
synced 2025-04-01 19:23:24 +00:00
fix: get function docs for normal modules (regression from 52a6eb21252537fcdab32c99f2474b84c3e41f03)
This commit is contained in:
parent
812de48558
commit
e67c549714
@ -77,6 +77,9 @@ These are the global Hilbish functions that are always available and not part of
|
|||||||
return 1
|
return 1
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if not funcdocs then
|
||||||
|
funcdocs = f:read '*a'
|
||||||
|
end
|
||||||
local desc = ''
|
local desc = ''
|
||||||
local ok = pcall(require, mod)
|
local ok = pcall(require, mod)
|
||||||
if ok then
|
if ok then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user