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
The folding chevron will be next to the function declaration and will fold the function.
Actual Behaviour
The folding chevron is next to the annotation and will only fold the one line of the function, leaving the rest of the function unfolded.
Reproduction steps
This code reproduces it: ---@param bar integer function foo(bar) -- comment local whee = bar + 3 return whee end
Additional Notes
Removing the inline comment fixes it.
Putting a blank line between the annotation and the function declaration line, even if it still has the inline comment, fixes it.
Log File
I couldn't get the thing to upload it, I'm sorry :(