mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
Allow most old tests to pass with nocp.
test69.in: because 'nocp' sets 'esckeys', add an extra <esc> to avoid 'tm' pause.
This commit is contained in:
parent
b574cb6422
commit
62bd20b726
@ -1,3 +1,3 @@
|
||||
:set cp
|
||||
:set nocp
|
||||
:map dotest /^STARTTEST
j:set ff=unix cpo-=A
:.,/ENDTEST/-1w! Xdotest
:set ff& cpo+=A
nj0:so! Xdotest
dotest
|
||||
dotest
|
||||
|
@ -4,7 +4,7 @@ STARTTEST
|
||||
:so small.vim
|
||||
:set noswf
|
||||
:set ve=all
|
||||
-dgg
|
||||
j-dgg
|
||||
:"
|
||||
:" Insert "keyword keyw", ESC, C CTRL-N, shows "keyword ykeyword".
|
||||
:" Repeating CTRL-N fixes it. (Mary Ellen Foster)
|
||||
|
@ -30,7 +30,7 @@ STARTTEST
|
||||
/^{/+1
|
||||
:set tw=3 fo=t
|
||||
gqgqo
|
||||
a
|
||||
a
|
||||
ENDTEST
|
||||
|
||||
{
|
||||
@ -99,7 +99,7 @@ ENDTEST
|
||||
STARTTEST
|
||||
/^{/+2
|
||||
:set tw& fo=a
|
||||
I^^
|
||||
I^^
|
||||
ENDTEST
|
||||
|
||||
{
|
||||
|
@ -15,7 +15,7 @@ STARTTEST
|
||||
:set tw=2 fo=t
|
||||
gqgqjgqgqo
|
||||
XYZ
|
||||
abc XYZ
|
||||
abc XYZ
|
||||
ENDTEST
|
||||
|
||||
{
|
||||
@ -31,7 +31,7 @@ gqgqjgqgqjgqgqjgqgqjgqgqo
|
||||
Xa
|
||||
X a
|
||||
XY
|
||||
X Y
|
||||
X Y
|
||||
ENDTEST
|
||||
|
||||
{
|
||||
@ -55,7 +55,7 @@ aX
|
||||
abX
|
||||
abcX
|
||||
abX c
|
||||
abXY
|
||||
abXY
|
||||
ENDTEST
|
||||
|
||||
{
|
||||
@ -110,7 +110,7 @@ gqgqjgqgqjgqgqjgqgqjgqgqjgqgqjgqgqjgqgqjgqgqjgqgqo
|
||||
X YZ
|
||||
XX
|
||||
XXa
|
||||
XXY
|
||||
XXY
|
||||
ENDTEST
|
||||
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user