Make test29 work with nocompatible.

This commit is contained in:
Julian Mehne 2014-12-07 14:19:29 +01:00 committed by Joel Teichroeb
parent 0ba6cb2f5c
commit a44f39955f

View File

@ -5,7 +5,7 @@ Test for joining lines and marks in them
STARTTEST STARTTEST
:so small.vim :so small.vim
:set nocompatible viminfo+=nviminfo :set viminfo+=nviminfo
:set nojoinspaces :set nojoinspaces
:set cpoptions-=j :set cpoptions-=j
/firstline/ /firstline/
@ -13,7 +13,7 @@ j"td/^STARTTEST/-1
PJjJjJjJjJjJjJjJjJjJjJjJjJjJj05lmx2j06lmy2k4Jy3l$p`xyl$p`yy2l$p:set cpoptions+=j PJjJjJjJjJjJjJjJjJjJjJjJjJjJj05lmx2j06lmy2k4Jy3l$p`xyl$p`yy2l$p:set cpoptions+=j
j05lmx2j06lmy2k4Jy3l$p`xyl$p`yy2l$p:set cpoptions-=j joinspaces j05lmx2j06lmy2k4Jy3l$p`xyl$p`yy2l$p:set cpoptions-=j joinspaces
j"tpJjJjJjJjJjJjJjJjJjJjJjJjJjJj05lmx2j06lmy2k4Jy3l$p`xyl$p`yy2l$p:set cpoptions+=j j"tpJjJjJjJjJjJjJjJjJjJjJjJjJjJj05lmx2j06lmy2k4Jy3l$p`xyl$p`yy2l$p:set cpoptions+=j
j05lmx2j06lmy2k4Jy3l$p`xyl$p`yy2l$p:set cpoptions-=j nojoinspaces compatible j05lmx2j06lmy2k4Jy3l$p`xyl$p`yy2l$p:set cpo+=qo
j"tpJjJjJjJjJjJjJjJjJjJjJjJjJjJj4Jy3l$pjd/STARTTEST/-2 j"tpJjJjJjJjJjJjJjJjJjJjJjJjJjJj4Jy3l$pjd/STARTTEST/-2
ENDTEST ENDTEST
@ -104,7 +104,7 @@ if (condition) // Remove the next comment leader!
STARTTEST STARTTEST
:" Test with backspace set to the non-compatible setting :" Test with backspace set to the non-compatible setting
/^\d\+ this /^\d\+ this
:set cp bs=2 :set bs=2
Avim1 Avim1
Avim2u Avim2u
:set cpo-=< :set cpo-=<
@ -118,7 +118,7 @@ A vim5A
A vim6Azweiu A vim6Azweiu
:inoremap <c-u> <left><c-u> :inoremap <c-u> <left><c-u>
A vim7 A vim7
:set cp :set noesckeys
ENDTEST ENDTEST
1 this shouldn't be deleted 1 this shouldn't be deleted
2 this shouldn't be deleted 2 this shouldn't be deleted