fortran-lang / fortls

fortls - Fortran Language Server
https://fortls.fortran-lang.org/
MIT License
258 stars 41 forks source link

bug: propagate Language ID to internally constructed Markdown hover #257

Closed gnikit closed 1 year ago

gnikit commented 1 year ago

Describe the bug We need to propagate the variable for the Language ID by default fortran90 so that Markdown hover messages are correctly displayed across all editors and all fortran extensions. Not all editors use fortran90 or FortranFreeForm.

Remember the limitation of propagating and setting global variables within a subprocess.