From c0742ca466dbb36dfdd67f5cbd55aa4df64e4307 Mon Sep 17 00:00:00 2001 From: bpatel347 Date: Fri, 8 Nov 2024 07:58:58 -0500 Subject: [PATCH] Add jupytext python3Dependency to jupytext plugin --- plugins/by-name/jupytext/default.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/plugins/by-name/jupytext/default.nix b/plugins/by-name/jupytext/default.nix index 5e195477..2cb4f915 100644 --- a/plugins/by-name/jupytext/default.nix +++ b/plugins/by-name/jupytext/default.nix @@ -61,4 +61,21 @@ helpers.neovim-plugin.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."; + }; + }; + }