config!: add extraConfig
BREAKING: rename extraConfig to extraLuaConfig
This commit is contained in:
parent
ecd8cd11ed
commit
020520b007
1 changed files with 3 additions and 2 deletions
|
@ -5,6 +5,7 @@
|
|||
, viAlias ? false
|
||||
, vimAlias ? false
|
||||
, extraConfig ? ""
|
||||
, extraLuaConfig ? ""
|
||||
, extraPlugins ? [ ]
|
||||
, theme ? { }
|
||||
, plugins ? { }
|
||||
|
@ -55,7 +56,7 @@ let
|
|||
|
||||
basicConfigs = map readFile [ ./config/basic.lua ];
|
||||
pluginConfigs = catAttrs "luaConfig" pluginsSettings;
|
||||
allConfigs = basicConfigs ++ pluginConfigs ++ [ extraConfig ];
|
||||
allConfigs = basicConfigs ++ pluginConfigs ++ [ extraLuaConfig ];
|
||||
in
|
||||
(wrapNeovim neovim-unwrapped {
|
||||
inherit viAlias;
|
||||
|
@ -66,7 +67,7 @@ in
|
|||
withRuby = false;
|
||||
|
||||
configure = {
|
||||
customRC = myLib.mkLuaRc allConfigs;
|
||||
customRC = extraConfig + myLib.mkLuaRc allConfigs;
|
||||
|
||||
packages.myVimPackages = { start = allPlugins; };
|
||||
};
|
||||
|
|
Reference in a new issue