mirror of
https://github.com/nix-community/nixvim.git
synced 2025-12-03 07:31:05 +01:00
plugins/jupytext: move jupytext to PATH
Signed-off-by: saygo-png <saygo.mail@proton.me>
This commit is contained in:
parent
fc66d83c77
commit
02da36ced8
2 changed files with 15 additions and 18 deletions
|
|
@ -1,6 +1,5 @@
|
|||
{
|
||||
lib,
|
||||
helpers,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
|
|
@ -62,22 +61,7 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
};
|
||||
};
|
||||
|
||||
extraOptions = {
|
||||
python3Dependencies = mkOption {
|
||||
type = with types; functionTo (listOf package);
|
||||
default =
|
||||
p: with p; [
|
||||
jupytext
|
||||
];
|
||||
defaultText = literalExpression ''
|
||||
p: with p; [
|
||||
jupytext
|
||||
]
|
||||
'';
|
||||
description = "Python packages to add to the `PYTHONPATH` of neovim.";
|
||||
};
|
||||
};
|
||||
|
||||
extraConfig = cfg: { extraPython3Packages = cfg.python3Dependencies; };
|
||||
dependencies = [ "jupytext" ];
|
||||
|
||||
inherit (import ./deprecations.nix lib) imports;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue