plugins/lsp: add fortls

Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>
This commit is contained in:
Loïc Reynier 2024-03-12 18:49:48 +00:00 committed by Gaetan Lepage
parent db33f46b5d
commit 61ee0552c9
2 changed files with 11 additions and 0 deletions

View file

@ -210,6 +210,16 @@ with lib; let
package = pkgs.elixir-ls;
cmd = cfg: ["${cfg.package}/bin/elixir-ls"];
}
{
name = "fortls";
description = "fortls for Fortran";
cmd = cfg: [
"${cfg.package}/bin/fortls"
"--hover_signature"
"--hover_language=fortran"
"--use_signature_help"
];
}
{
name = "fsautocomplete";
description = "fsautocomplete for F#";

View file

@ -102,6 +102,7 @@
emmet_ls.enable = true;
eslint.enable = true;
elixirls.enable = true;
fortls.enable = true;
# pkgs.fsautocomplete only supports linux platforms
fsautocomplete.enable = pkgs.stdenv.isLinux;
futhark-lsp.enable = true;