0
0
mirror of https://github.com/vim/vim.git synced 2025-11-13 22:54:27 -05:00

updated for version 7.3.1303

Problem:    Undo is synced whenever CTRL-R = is called, breaking some plugins.
Solution:   Only break undo when calling setline() or append().
This commit is contained in:
Bram Moolenaar
2013-07-04 20:25:41 +02:00
parent c84e3c1ee1
commit 3c1e9c2a1f
6 changed files with 43 additions and 4 deletions

View File

@@ -93,7 +93,17 @@ ob
:set ul=100
o1a2=setline('.','1234')
uu:%w >>test.out
uu:"
oc
:set ul=100
o1a2=setline('.','1234')
u:"
od
:set ul=100
o1a2=string(123)
u:"
:%w >>test.out
:qa!
ENDTEST

View File

@@ -44,3 +44,6 @@ three
a
b
c
12
d