From 892de0e10ba1736cf45cc9cb02ef91d5769d79be Mon Sep 17 00:00:00 2001 From: Roman Volosatovs Date: Sun, 9 Sep 2018 21:28:07 +0200 Subject: [PATCH] neovim: fix python package examples --- modules/programs/neovim.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/programs/neovim.nix b/modules/programs/neovim.nix index deacfd15..9e2493e2 100644 --- a/modules/programs/neovim.nix +++ b/modules/programs/neovim.nix @@ -59,7 +59,7 @@ in extraPythonPackages = mkOption { type = with types; either extraPythonPackageType (listOf package); default = (_: []); - example = literalExample "(ps: [ pandas jedi ])"; + example = literalExample "(ps: with ps; [ pandas jedi ])"; description = '' A function in python.withPackages format, which returns a list of Python 2 packages required for your plugins to work. @@ -86,7 +86,7 @@ in extraPython3Packages = mkOption { type = with types; either extraPython3PackageType (listOf package); default = (_: []); - example = literalExample "(ps: [ python-language-server ])"; + example = literalExample "(ps: with ps; [ python-language-server ])"; description = '' A function in python.withPackages format, which returns a list of Python 3 packages required for your plugins to work.