Skip to content

bug(docs): inconsistent docs display in hover #281

Open
@gnikit

Description

@gnikit

The lsp/hover signatures for the resulting docs between a() and b() is inconsistent.
One appears to be constructing the full Markdown doc string while the other one just displays the raw doc.

Minimal example:

program main
    ! type a or be here:
    print*, a()
    print*, b()
contains

function a()
    !! this shoes up
    logical a
    a = .true.
end function

logical function b()
    !! this doesn't
    b = .false.
end function

end program main

Screenshot from 2023-05-17 10-37-25
Screenshot from 2023-05-17 10-39-25

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinglsp/hoverIssues related with hovering requests

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions