mirror of
https://github.com/nix-community/nixvim.git
synced 2026-10-14 09:43:15 -04:00
plugins/molten: add python3 dependencies
This commit is contained in:
committed by
Gaétan Lepage
parent
6a414ea2cd
commit
becfe75a67
@@ -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;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user