mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 08:35:43 +02:00
plugins/lsp: add ocamllsp, the language server for OCaml (#1233)
This commit is contained in:
parent
cd32dcd50f
commit
ba5a0b84e1
3 changed files with 7 additions and 0 deletions
|
@ -67,6 +67,7 @@ in {
|
||||||
"nil_ls"
|
"nil_ls"
|
||||||
"nixd"
|
"nixd"
|
||||||
"nushell"
|
"nushell"
|
||||||
|
"ocamllsp"
|
||||||
"ols"
|
"ols"
|
||||||
"omnisharp"
|
"omnisharp"
|
||||||
"perlpls"
|
"perlpls"
|
||||||
|
|
|
@ -430,6 +430,11 @@ with lib; let
|
||||||
description = "Nushell language server";
|
description = "Nushell language server";
|
||||||
cmd = cfg: ["${cfg.package}/bin/nu" "--lsp"];
|
cmd = cfg: ["${cfg.package}/bin/nu" "--lsp"];
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
name = "ocamllsp";
|
||||||
|
description = "ocamllsp for OCaml";
|
||||||
|
package = pkgs.ocamlPackages.ocaml-lsp;
|
||||||
|
}
|
||||||
{
|
{
|
||||||
name = "ols";
|
name = "ols";
|
||||||
description = "ols for the Odin programming language";
|
description = "ols for the Odin programming language";
|
||||||
|
|
|
@ -125,6 +125,7 @@
|
||||||
nil_ls.enable = true;
|
nil_ls.enable = true;
|
||||||
nixd.enable = true;
|
nixd.enable = true;
|
||||||
nushell.enable = true;
|
nushell.enable = true;
|
||||||
|
ocamllsp.enable = true;
|
||||||
ols.enable =
|
ols.enable =
|
||||||
# ols is not supported on aarch64-linux
|
# ols is not supported on aarch64-linux
|
||||||
(pkgs.stdenv.hostPlatform.system != "aarch64-linux")
|
(pkgs.stdenv.hostPlatform.system != "aarch64-linux")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue