Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
gnikit opened this issue May 17, 2023 · 0 comments
Open

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

gnikit opened this issue May 17, 2023 · 0 comments
Labels
bug Something isn't working lsp/hover Issues related with hovering requests

Comments

@gnikit
Copy link
Member

gnikit commented May 17, 2023

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 gnikit changed the title bug(docs): inconsistent docs display bug(docs): inconsistent docs display in hover May 17, 2023
@gnikit gnikit added bug Something isn't working lsp/hover Issues related with hovering requests labels May 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working lsp/hover Issues related with hovering requests
Projects
None yet
Development

No branches or pull requests

1 participant