Skip to content

Commit

Permalink
plugins/lsp: add fortls
Browse files Browse the repository at this point in the history
Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>
  • Loading branch information
loicreynier and GaetanLepage committed Mar 12, 2024
1 parent db33f46 commit 61ee055
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
10 changes: 10 additions & 0 deletions plugins/lsp/language-servers/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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#";
Expand Down
1 change: 1 addition & 0 deletions tests/test-sources/plugins/lsp/_lsp.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 61ee055

Please sign in to comment.