Skip to content

Commit

Permalink
test/run: use --noplugin and source vader
Browse files Browse the repository at this point in the history
  • Loading branch information
blueyed committed Jan 15, 2018
1 parent 8403a1c commit 63e86f4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test/run
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ mkdir -p "$TEMP"

cat > $TEMP/mini-vimrc << VIMRC
set rtp+=$TEMP/junegunn/vader.vim
source $TEMP/junegunn/vader.vim/plugin/vader.vim
set shell=/bin/bash
VIMRC

Expand Down Expand Up @@ -122,9 +123,9 @@ git --version
vim=$(select_vim)
echo "Selected Vim: $vim"
if [ "${1:-}" = '!' ]; then
$vim -Nu $TEMP/mini-vimrc -c 'Vader! test.vader' > /dev/null &&
$vim --noplugin -Nu $TEMP/mini-vimrc -c 'Vader! test.vader' &&
prepare &&
$vim -Nu $TEMP/mini-vimrc -c 'let g:plug_threads = 1 | Vader! test.vader' > /dev/null
$vim --noplugin -Nu $TEMP/mini-vimrc -c 'let g:plug_threads = 1 | Vader! test.vader'
else
$vim -Nu $TEMP/mini-vimrc -c 'Vader test.vader'
$vim --noplugin -Nu $TEMP/mini-vimrc -c 'Vader test.vader'
fi

0 comments on commit 63e86f4

Please sign in to comment.