Skip to content

Commit 7ab5c71

Browse files
committed
disable viminfo in tests
1 parent af951d9 commit 7ab5c71

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
/.config
66
/.coverage.covimerage
77
/.local
8+
/.viminfo
89
/coverage.xml
910
/doc/tags
1011
/issues

scripts/run-vim

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@ fi
3434

3535
if [ $coverage -eq 1 ]; then
3636
covimerage -q run --report-file /tmp/vim-go-test/cov-profile.txt --append \
37-
$dir/bin/vim --noplugin -u NONE -N \
37+
$dir/bin/vim --noplugin -u NONE -i NONE -N \
3838
+"set shm+=WAFI rtp^=$vimgodir packpath=$dir/share/vim/vimgo" \
3939
+'filetype plugin indent on' \
4040
+'packloadall!' \
4141
"$@"
4242
else
43-
$dir/bin/vim --noplugin -u NONE -N \
43+
$dir/bin/vim --noplugin -u NONE -i NONE -N \
4444
+"set shm+=WAFI rtp^=$vimgodir packpath=$dir/share/vim/vimgo" \
4545
+'filetype plugin indent on' \
4646
+'packloadall!' \

0 commit comments

Comments
 (0)