programs.neovim: fix tests + swap extraConfig and pluginconfig (#2053)

makes more sense to have extraConfig afterwards in case use want to override config
This commit is contained in:
Matthieu Coudron 2021-05-31 19:32:21 +02:00 committed by GitHub
parent 9e253a8c30
commit 2a4ab0d891
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View file

@ -51,8 +51,8 @@ let
(map (x: if x ? plugin && x.optional == true then x.plugin else null)
cfg.plugins);
};
customRC = cfg.extraConfig
+ pkgs.lib.concatMapStrings pluginConfig cfg.plugins;
customRC = pkgs.lib.concatMapStrings pluginConfig cfg.plugins
+ cfg.extraConfig;
};
extraMakeWrapperArgs = lib.optionalString (cfg.extraPackages != [ ])