mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-14 19:24:34 +02:00
plugins/lsp: use mkPackageOption
for pylsp + rust-analyzer
This commit is contained in:
parent
848246bc64
commit
37165453a9
2 changed files with 6 additions and 14 deletions
|
@ -11,10 +11,8 @@ let
|
|||
in
|
||||
{
|
||||
options.plugins.lsp.servers.pylsp = {
|
||||
pythonPackage = mkOption {
|
||||
type = lib.types.package;
|
||||
description = "Python package to use for lsp.";
|
||||
default = pkgs.python3;
|
||||
pythonPackage = mkPackageOption pkgs "python" {
|
||||
default = "python3";
|
||||
};
|
||||
|
||||
# All settings are documented here:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue