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

updated for version 7.4.313

Problem:    Changing the return value of getpos() causes an error. (Jie Zhu)
Solution:   Revert getpos() and add getcurpos().
This commit is contained in:
Bram Moolenaar
2014-05-28 20:31:42 +02:00
parent 2d1fe05fc0
commit 6f6c0f8085
5 changed files with 59 additions and 18 deletions

View File

@@ -190,9 +190,9 @@ endfun
:$put =v:exception
:endtry
:"
:$put ='{{{1 setpos/getpos'
:$put ='{{{1 getcurpos/setpos'
/^012345678
6l:let sp = getpos('.')
6l:let sp = getcurpos()
0:call setpos('.', sp)
jyl:$put
:"

Binary file not shown.