Here is a small patch to the getpos() documentation.

diff -r 8bb4ca7fba40 runtime/doc/eval.txt
--- a/runtime/doc/eval.txt      Wed Oct 22 22:09:01 2014 +0200
+++ b/runtime/doc/eval.txt      Sun Nov 23 07:48:21 2014 -0500
@@ -3514,7 +3514,7 @@
                This can be used to save and restore the position of a
mark: >
                        let save_a_mark = getpos("'a")
                        ...
-                       call setpos(''a', save_a_mark
+                       call setpos("'a", save_a_mark
 <              Also see |getcurpos()| and |setpos()|.
 
Michael Henry

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui