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
When a function has an optional parameter (depicted with ?), the type information (such as string) will be added as a separate parameter in the doc string.
Settings
Default settings.
EDIT: Note, I am using branch v1.17.2
To Reproduce
Steps to reproduce the behavior:
Create a sample file as described below
Genereate documentation
Observe string being added as another parameter
3a. The variable arg1 is also missing its string type
Expected behavior
arg1 has its type set at string and there is no additional parameter.
Describe the bug
When a function has an optional parameter (depicted with
?
), the type information (such asstring
) will be added as a separate parameter in the doc string.Settings
Default settings.
EDIT: Note, I am using branch
v1.17.2
To Reproduce
Steps to reproduce the behavior:
string
being added as another parameter3a. The variable
arg1
is also missing itsstring
typeExpected behavior
arg1
has its type set atstring
and there is no additional parameter.Screenshots
Out of
vim --version
The text was updated successfully, but these errors were encountered: