mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
plugins/lsp: remove unused generic extraPackages behaviour
This commit is contained in:
parent
f95ace94b2
commit
c68f2d6270
1 changed files with 3 additions and 7 deletions
|
@ -9,7 +9,6 @@
|
|||
description ? "Enable ${name}.",
|
||||
serverName ? name,
|
||||
package ? pkgs.${name},
|
||||
extraPackages ? {},
|
||||
cmd ? (cfg: null),
|
||||
settings ? (cfg: cfg),
|
||||
settingsOptions ? {},
|
||||
|
@ -116,12 +115,9 @@
|
|||
mkIf cfg.enable
|
||||
{
|
||||
extraPackages =
|
||||
(
|
||||
optional
|
||||
(cfg.installLanguageServer && (package != null))
|
||||
cfg.package
|
||||
)
|
||||
++ (mapAttrsToList (name: _: cfg."${name}Package") extraPackages);
|
||||
optional
|
||||
(cfg.installLanguageServer && (package != null))
|
||||
cfg.package;
|
||||
|
||||
plugins.lsp.enabledServers = [
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue