You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since Lua does not have support of named params, it is not rare to have multiple level nested tables. Unfortunately, now ldoc doesn't have nested subparams support.
The following script
-- @table opts---- @table opts.mytarg1-- My table arg 1---- @string opts.mytarg1.field1-- My table arg 1 string field---- @bool opts.mytarg1.field2-- My table arg 1 bool field
is compiled to
even though it would be nice to see something like
Restricting max nesting depth with configuration may also be useful here.
The text was updated successfully, but these errors were encountered:
This does seem like something we should surface. I don't have much dev time to contribute right now but I am keeping an eye on PRs and if anybody chips in to contribute this I think we can facilitate it getting included.
ldoc has support of subparams (even though the feature is a bit hidden):
ldoc/tests/styles/subparams.lua
Lines 8 to 13 in e4940da
Since Lua does not have support of named params, it is not rare to have multiple level nested tables. Unfortunately, now ldoc doesn't have nested subparams support.
The following script
is compiled to
even though it would be nice to see something like
Restricting max nesting depth with configuration may also be useful here.
The text was updated successfully, but these errors were encountered: