fortls icon indicating copy to clipboard operation
fortls copied to clipboard

bug(docs): inconsistent docs display in hover

Open gnikit opened this issue 1 year ago • 0 comments

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

gnikit avatar May 17 '23 09:05 gnikit