diff options
Diffstat (limited to 'nixpkgs/pkgs/applications/editors/neovim/tests.nix')
-rw-r--r-- | nixpkgs/pkgs/applications/editors/neovim/tests.nix | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/editors/neovim/tests.nix b/nixpkgs/pkgs/applications/editors/neovim/tests.nix index f9d0d659b73c..5f4cda714a67 100644 --- a/nixpkgs/pkgs/applications/editors/neovim/tests.nix +++ b/nixpkgs/pkgs/applications/editors/neovim/tests.nix @@ -132,4 +132,15 @@ rec { extraName = "-pathogen"; configure.pathogen.pluginNames = [ "vim-nix" ]; }; + + nvimWithLuaPackages = wrapNeovim2 "with-lua-packages" (makeNeovimConfig { + extraLuaPackages = ps: [ps.mpack]; + customRC = '' + lua require("mpack") + ''; + }); + + nvim_with_lua_packages = runTest nvimWithLuaPackages '' + ${nvimWithLuaPackages}/bin/nvim -i NONE --noplugin -es + ''; }) |