summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/editors/neovim
diff options
context:
space:
mode:
authorMatthieu Coudron <mcoudron@hotmail.com>2020-11-03 09:26:59 +0100
committerMatthieu Coudron <mcoudron@hotmail.com>2020-11-03 09:31:56 +0100
commit86d7ed8d107042fa577e5975f37e372998e56fd9 (patch)
tree09095c858cfd811defed3af006ede6d95b557197 /pkgs/applications/editors/neovim
parent27e4b4df9502cf045ec858652b52991a77c84b97 (diff)
neovim: take into account vi(m)Alias
restore feature broken by compatibility layer
Diffstat (limited to 'pkgs/applications/editors/neovim')
-rw-r--r--pkgs/applications/editors/neovim/utils.nix7
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