Skip to content

Incorrect parameter displaying in tooltip. #537

Description

@serg3295

Describe the bug
When comment of last parameter is an unordered list, the parameter is displayed incorrectly.

To Reproduce

---@param par1 string|'"text1"'|'"text2"' @event
---@param par2 function|' function(client, topic, message) end' @`function(client, topic, message)`.
--- - comment par2
---@return nil
function rr:on(par1, par2) end

Screenshots
luasrv11

Environment (please complete the following information):

  • OS: Windows
  • Is WSL remote? no
  • Client: VSCode

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions