mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-24 17:58:38 +02:00
lsp: fix elixir lsp
This commit is contained in:
parent
2db1c36c30
commit
c7b561b40c
4 changed files with 19 additions and 8 deletions
|
@ -6,6 +6,7 @@
|
|||
, description ? "Enable ${name}."
|
||||
, serverName ? name
|
||||
, packages ? [ pkgs.${name} ]
|
||||
, cmd ? null
|
||||
, ...
|
||||
}:
|
||||
# returns a module
|
||||
|
@ -24,7 +25,12 @@
|
|||
config = mkIf cfg.enable {
|
||||
extraPackages = packages;
|
||||
|
||||
plugins.lsp.enabledServers = [ serverName ];
|
||||
plugins.lsp.enabledServers = [{
|
||||
name = serverName;
|
||||
extraOptions = {
|
||||
inherit cmd;
|
||||
};
|
||||
}];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue