mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 08:35:43 +02:00
plugins/lsp/language-servers: add extraOptions argument to mkLsp
This commit is contained in:
parent
e035d22b64
commit
e97755be47
1 changed files with 2 additions and 1 deletions
|
@ -14,6 +14,7 @@
|
||||||
settings ? (cfg: cfg),
|
settings ? (cfg: cfg),
|
||||||
settingsOptions ? { },
|
settingsOptions ? { },
|
||||||
extraConfig ? cfg: { },
|
extraConfig ? cfg: { },
|
||||||
|
extraOptions ? { },
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
# returns a module
|
# returns a module
|
||||||
|
@ -87,7 +88,7 @@ in
|
||||||
type = types.attrsOf types.anything;
|
type = types.attrsOf types.anything;
|
||||||
description = "Extra options for the ${name} language server.";
|
description = "Extra options for the ${name} language server.";
|
||||||
};
|
};
|
||||||
};
|
} // extraOptions;
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue