From 86d7ed8d107042fa577e5975f37e372998e56fd9 Mon Sep 17 00:00:00 2001 From: Matthieu Coudron Date: Tue, 3 Nov 2020 09:26:59 +0100 Subject: [PATCH] neovim: take into account vi(m)Alias restore feature broken by compatibility layer --- pkgs/applications/editors/neovim/utils.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/editors/neovim/utils.nix b/pkgs/applications/editors/neovim/utils.nix index 906a726924f..d992ccd3f6a 100644 --- a/pkgs/applications/editors/neovim/utils.nix +++ b/pkgs/applications/editors/neovim/utils.nix @@ -35,7 +35,7 @@ let # for forward compability, when adding new environments, haskell etc. , ... - }: + }@args: let rubyEnv = bundlerEnv { name = "neovim-ruby-env"; @@ -99,7 +99,7 @@ let manifestRc = vimUtils.vimrcContent (configure // { customRC = ""; }); neovimRcContent = vimUtils.vimrcContent configure; in - { + args // { wrapperArgs = makeWrapperArgs; inherit neovimRcContent; inherit manifestRc; @@ -142,8 +142,7 @@ let extraPythonPackages = compatFun extraPythonPackages; inherit withPython3; extraPython3Packages = compatFun extraPython3Packages; - inherit withNodeJs withRuby; - + inherit withNodeJs withRuby viAlias vimAlias; inherit configure; }; in