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

This reverts commit a3bf0c2e40.
wip/yesman
Wael M. Nasreddine 4 years ago committed by Jon
parent a1932826d7
commit 7909787a7d
  1. 2
      pkgs/applications/editors/neovim/wrapper.nix
  2. 5
      pkgs/misc/vim-plugins/vim-utils.nix

@ -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

@ -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}

Loading…
Cancel
Save