From df9259abcee07f217e36f85f4fd77d059fb1bbe7 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 15 Jun 2013 17:54:43 +0200 Subject: updated for version 7.3.1200 Problem: When calling setline() from Insert mode, using CTRL-R =, undo does not work properly. (Israel Chauca) Solution: Sync undo after evaluating the expression. (Christian Brabandt) --- src/testdir/test61.in | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/testdir/test61.in') diff --git a/src/testdir/test61.in b/src/testdir/test61.in index 88831636a..2602e9759 100644 --- a/src/testdir/test61.in +++ b/src/testdir/test61.in @@ -84,6 +84,16 @@ ggO---:0put c ggO---:0put b ggO---:0put a ggO---:w >>test.out +:so small.vim +:set nocp +:enew! +oa +:set ul=100 +ob +:set ul=100 +o1a2=setline('.','1234') + +uu:%w >>test.out :qa! ENDTEST -- cgit v1.2.1