mirror of
https://github.com/junegunn/vim-plug.git
synced 2024-12-24 13:07:36 -07:00
test/run: use --noplugin and source vader
This commit is contained in:
parent
734d9a11b5
commit
46c62c7af9
7
test/run
7
test/run
@ -16,6 +16,7 @@ mkdir -p "$TEMP"
|
|||||||
|
|
||||||
cat > $TEMP/mini-vimrc << VIMRC
|
cat > $TEMP/mini-vimrc << VIMRC
|
||||||
set rtp+=$TEMP/junegunn/vader.vim
|
set rtp+=$TEMP/junegunn/vader.vim
|
||||||
|
source $TEMP/junegunn/vader.vim/plugin/vader.vim
|
||||||
set shell=/bin/bash
|
set shell=/bin/bash
|
||||||
VIMRC
|
VIMRC
|
||||||
|
|
||||||
@ -122,9 +123,9 @@ git --version
|
|||||||
vim=$(select_vim)
|
vim=$(select_vim)
|
||||||
echo "Selected Vim: $vim"
|
echo "Selected Vim: $vim"
|
||||||
if [ "${1:-}" = '!' ]; then
|
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 &&
|
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
|
else
|
||||||
$vim -Nu $TEMP/mini-vimrc -c 'Vader test.vader'
|
$vim --noplugin -Nu $TEMP/mini-vimrc -c 'Vader test.vader'
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user