Reputation: 1
I tried to use fortls language server (installed via Mason) in Lunarvim, but lvim keeps showing "LSP inactive". The Python and the lua language server are working without any problem
I've restarted it (LspResart) and uninstalled and reinstalled it via Mason. Even the older 2.12.0 version, but every time the same behavior.
I'm on Ubuntu 20.04.6 LTS.
Can anyone who uses fortls in lvim/nvim give me a hint where the problem could be?
Upvotes: 0
Views: 634
Reputation: 1291
I assume you are using fortls
(https://github.com/fortran-lang/fortls), which in that case you might want to have a look at the docs on setting fortls up for neovim
Docs: https://fortls.fortran-lang.org/quickstart.html#download
FYI: make sure that where you install fortls
is in your PATH.
Docs: https://fortls.fortran-lang.org/editor_integration.html#neovim
As a final note, fortls
has also a Command Line Interface (CLI), so you can test it works by opening a terminal and typing something along the lines of
fortls --debug_filename your_file.f90 --debug_parser
The output should be a parsed version of your file.
Upvotes: 0