neovimUtils.makeNeovimConfig: expose packpathsDir
this way home-manager can link the packpathDir in ~/.local/share/nvim/site which makes package discovery work without needing to `set packpath` (making the wrapper further useless).
This commit is contained in:
parent
590e56a73f
commit
71210f0410
@ -89,6 +89,8 @@ let
|
||||
python3 = withPython3;
|
||||
ruby = withRuby;
|
||||
};
|
||||
# as expected by packdir
|
||||
packpathDirs.myNeovimPackages = myVimPackage;
|
||||
## Here we calculate all of the arguments to the 1st call of `makeWrapper`
|
||||
# We start with the executable itself NOTE we call this variable "initial"
|
||||
# because if configure != {} we need to call makeWrapper twice, in order to
|
||||
@ -131,6 +133,7 @@ let
|
||||
|
||||
builtins.removeAttrs args ["plugins"] // {
|
||||
wrapperArgs = makeWrapperArgs;
|
||||
inherit packpathDirs;
|
||||
inherit neovimRcContent;
|
||||
inherit manifestRc;
|
||||
inherit python3Env;
|
||||
|
Loading…
Reference in New Issue
Block a user