Revert "vimPlugins: turn filetype and syntax before sourcing the plugins (#66536)"

This reverts commit a3bf0c2e40.
This commit is contained in:
Wael M. Nasreddine 2020-01-06 14:45:58 -08:00 committed by Jon
parent a1932826d7
commit 7909787a7d
2 changed files with 2 additions and 5 deletions

View file

@ -101,7 +101,7 @@ let
# Only display the log on error since it will contain a few normally
# irrelevant messages.
if ! $out/bin/nvim \
-u ${vimUtils.vimrcFile (configure // { customRC = ""; beforePlugins = ''filetype indent plugin on | syn on''; })} \
-u ${vimUtils.vimrcFile (configure // { customRC = ""; })} \
-i NONE -n \
-E -V1rplugins.log -s \
+UpdateRemotePlugins +quit! > outfile 2>&1; then

View file

@ -188,8 +188,7 @@ let
vam ? null,
pathogen ? null,
plug ? null,
customRC ? "",
beforePlugins ? "",
customRC ? ""
}:
let
@ -342,8 +341,6 @@ let
" minimal setup, generated by NIX
set nocompatible
${beforePlugins}
${vamImpl}
${pathogenImpl}
${plugImpl}