diff options
author | Matthieu Coudron <mcoudron@hotmail.com> | 2020-11-03 09:26:59 +0100 |
---|---|---|
committer | Matthieu Coudron <mcoudron@hotmail.com> | 2020-11-03 09:31:56 +0100 |
commit | 86d7ed8d107042fa577e5975f37e372998e56fd9 (patch) | |
tree | 09095c858cfd811defed3af006ede6d95b557197 /pkgs/applications | |
parent | 27e4b4df9502cf045ec858652b52991a77c84b97 (diff) |
neovim: take into account vi(m)Alias
restore feature broken by compatibility layer
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/editors/neovim/utils.nix | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/pkgs/applications/editors/neovim/utils.nix b/pkgs/applications/editors/neovim/utils.nix index 906a726924f9..d992ccd3f6a4 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 |