mirror of
https://github.com/vim/vim.git
synced 2025-10-28 09:27:14 -04:00
updated for version 7.3.247
Problem: Running tests changes the users viminfo file. Test for patch
7.3.245 missing.
Solution: Add "nviminfo" to the 'viminfo' option. Include the test.
This commit is contained in:
@@ -6,7 +6,7 @@ blocks.
|
||||
|
||||
STARTTEST
|
||||
:so small.vim
|
||||
:set nocp fileformat=unix undolevels=-1
|
||||
:set nocp fileformat=unix undolevels=-1 viminfo+=nviminfo
|
||||
:e! Xtest
|
||||
ggdG
|
||||
:let text = "\tabcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnoparstuvwxyz0123456789"
|
||||
|
||||
@@ -1,10 +1,12 @@
|
||||
Test for t movement command and 'cpo-;' setting
|
||||
|
||||
STARTTEST
|
||||
:set nocompatible
|
||||
:set nocompatible viminfo+=nviminfo
|
||||
:set cpo-=;
|
||||
/firstline/
|
||||
j0tt;D
|
||||
0fz;D
|
||||
$Fy;D
|
||||
$Ty;D:set cpo+=;
|
||||
j0tt;;D
|
||||
$Ty;;D:?firstline?+1,$w! test.out
|
||||
@@ -13,6 +15,8 @@ ENDTEST
|
||||
|
||||
firstline
|
||||
aaa two three four
|
||||
zzz
|
||||
yyy
|
||||
bbb yee yoo four
|
||||
ccc two three four
|
||||
ddd yee yoo four
|
||||
|
||||
Reference in New Issue
Block a user