diff options
Diffstat (limited to 'scripts/docgen.lua')
| -rw-r--r-- | scripts/docgen.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/docgen.lua b/scripts/docgen.lua index 35ab6b73..33f78130 100644 --- a/scripts/docgen.lua +++ b/scripts/docgen.lua @@ -165,6 +165,9 @@ local function make_lsp_sections() -- local function pre(s) return string.format("<pre>%s</pre>", s) end -- local function code(s) return string.format("<code>%s</code>", s) end + if not (type(v) == "table") then + return + end return make_section(0, '\n', { "- "..make_section(0, ': ', { bold(tick(k)); |
