summaryrefslogtreecommitdiff
path: root/src/testdir/test_viminfo.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-03-30 20:50:46 +0200
committerBram Moolenaar <Bram@vim.org>2016-03-30 20:50:46 +0200
commite9c07270031e312082604d3505650f185aa65948 (patch)
treee63a095f5a5a76848987b213b4ecd3ea00729423 /src/testdir/test_viminfo.vim
parent7db8f6f4f85e5d0526d23107b2a5e2334dc23354 (diff)
downloadvim-git-e9c07270031e312082604d3505650f185aa65948.tar.gz
patch 7.4.1686v7.4.1686
Problem: When running tests $HOME/.viminfo is written. (James McCoy) Solution: Add 'nviminfo' to the 'viminfo' option. (closes #722)
Diffstat (limited to 'src/testdir/test_viminfo.vim')
-rw-r--r--src/testdir/test_viminfo.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testdir/test_viminfo.vim b/src/testdir/test_viminfo.vim
index 3efe75e82..a979ab996 100644
--- a/src/testdir/test_viminfo.vim
+++ b/src/testdir/test_viminfo.vim
@@ -36,7 +36,7 @@ func Test_global_vars()
" store a really long list, so line wrapping will occur in viminfo file
let test_list = range(1,100)
let g:MY_GLOBAL_LIST = test_list
- set viminfo='100,<50,s10,h,!
+ set viminfo='100,<50,s10,h,!,nviminfo
wv! Xviminfo
unlet g:MY_GLOBAL_DICT
unlet g:MY_GLOBAL_LIST