mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-29 20:04:28 +02:00
plugins/molten: add python3 dependencies
This commit is contained in:
parent
6a414ea2cd
commit
becfe75a67
1 changed files with 28 additions and 0 deletions
|
@ -191,4 +191,32 @@ with helpers.vim-plugin;
|
|||
wrap_output = false;
|
||||
show_mimetype_debug = false;
|
||||
};
|
||||
|
||||
extraOptions = {
|
||||
python3Dependencies = mkOption {
|
||||
type = with types; functionTo (listOf package);
|
||||
default = p:
|
||||
with p; [
|
||||
pynvim
|
||||
jupyter-client
|
||||
cairosvg
|
||||
ipython
|
||||
nbformat
|
||||
];
|
||||
defaultText = literalExpression ''
|
||||
p: with p; [
|
||||
pynvim
|
||||
jupyter-client
|
||||
cairosvg
|
||||
ipython
|
||||
nbformat
|
||||
]
|
||||
'';
|
||||
description = "Python packages to add to the `PYTHONPATH` of neovim.";
|
||||
};
|
||||
};
|
||||
|
||||
extraConfig = cfg: {
|
||||
extraPython3Packages = cfg.python3Dependencies;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue