When type any key in git-commit message buffer, error occur that getcurpos() 
not found.

diff -r febc041c984b runtime/plugin/matchparen.vim
--- a/runtime/plugin/matchparen.vim     Wed Jul 16 23:39:54 2014 +0200
+++ b/runtime/plugin/matchparen.vim     Fri Jul 18 20:37:44 2014 +0900
@@ -88,7 +88,7 @@
   " Find the match.  When it was just before the cursor move it there for a
   " moment.
   if before > 0
-    let save_cursor = getcurpos()
+    let save_cursor = getpos('.')
     call cursor(c_lnum, c_col - before)
   endif
 

-- 
-- 
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