Revert "neovim: pass the --clean flag to only use wrapped rc"

This reverts commit ce49cb7792.
This commit is contained in:
06kellyjac 2022-08-05 11:51:15 +01:00
parent 12a7360426
commit d33f4a26a1

View file

@ -45,7 +45,7 @@ let
finalMakeWrapperArgs =
[ "${neovim}/bin/nvim" "${placeholder "out"}/bin/nvim" ]
++ [ "--set" "NVIM_SYSTEM_RPLUGIN_MANIFEST" "${placeholder "out"}/rplugin.vim" ]
++ optionals wrapRc [ "--add-flags" "--clean" "--add-flags" "-u ${writeText "init.vim" neovimRcContent}" ]
++ optionals wrapRc [ "--add-flags" "-u ${writeText "init.vim" neovimRcContent}" ]
;
in
assert withPython2 -> throw "Python2 support has been removed from the neovim wrapper, please remove withPython2 and python2Env.";