|
@@ -88,8 +88,8 @@ let
|
|
|
let g:loaded_node_provider = 0
|
|
|
let g:loaded_perl_provider = 0
|
|
|
|
|
|
- set runtimepath^=${placeholder "out"}/lib
|
|
|
- set packpath^=${placeholder "out"}/lib
|
|
|
+ set runtimepath=${placeholder "out"}/lib,$VIMRUNTIME
|
|
|
+ set packpath=${placeholder "out"}/lib
|
|
|
|
|
|
${initText}
|
|
|
'';
|
|
@@ -107,6 +107,10 @@ let
|
|
|
ln -s "${p}" "lib/pack/nixpkgs/start/${lib.getName p}"
|
|
|
'') enabledPlugins}
|
|
|
|
|
|
+ # copy in overrides
|
|
|
+ mkdir -p lib/pack/nixpkgs/start
|
|
|
+ cp -r ${./overrides} lib/pack/nixpkgs/start/overrides
|
|
|
+
|
|
|
# create config file
|
|
|
mkdir etc
|
|
|
cp "$initVimPath" etc/init.vim
|