Closed DylanVerstraete closed 1 year ago
in example 2 is it ok if it cuts balance with the whitespace? This trimming was done to keep the description concise. In V's documentation guidelines it states "The comment must start with the name of the definition." I can also just get rid of the trimming if you think its unnecessary.
If the comment starts with the name of the function (which is indeed good practice) it should trim the leading whitespace imo
Example 1
function with docline:
generates:
so it cuts the "load" from "loads" and uses the remaining for docstring.
Example 2
function with docline:
generates:
here it cuts the "balance" from the docstring but also leaves and empty space