On Wed, Oct 26, 2011 at 5:19 PM, erik <[email protected]> wrote:
> New version on the same location: http://dl.dropbox.com/u/26176183/awk.vim
The attached patch fix a minor bug in the script.
--
Jakson
--
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
--- awk.vim 2011-11-09 21:48:37.762922283 -0300
+++ .vim/indent/awk.vim 2011-11-09 21:48:07.142921795 -0300
@@ -179,9 +179,9 @@
function! s:Get_line_of_matching_brace()
let c = col('.')
let r = v:lnum
- cursor(0,1)
+ call cursor(0,1)
let the_r = searchpair('{','','}','nbW')
- cursor(r,c)
+ call cursor(r,c)
" if the_r == -1
" echomsg 'Searchpair didn't find open brace'
" endif