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:
@@ -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.
Reference in New Issue
Block a user