Open GoogleCodeExporter opened 9 years ago
[deleted comment]
The problem is that a cursor column of zero is invalid, so the call to cursor()
doesn't work. This patch fixes it:
Index: javascript.vim
===================================================================
--- javascript.vim (revision 4614)
+++ javascript.vim (revision 4615)
@@ -86,7 +86,7 @@
" Set the cursor position to the beginning of the line (default
" behavior when using ==)
- call cursor(a:lnum, 0)
+ call cursor(a:lnum, 1)
" Search for the opening tag
let mnum = searchpair(a:beg, '', a:end, 'bW',
Original comment by agrif...@gmail.com
on 31 Jan 2012 at 11:53
Ah. Good call. I will make the update in the next release.
Original comment by pkopr...@gmail.com
on 9 Feb 2012 at 3:28
Original issue reported on code.google.com by
ouyangde...@gmail.com
on 18 Jan 2012 at 9:54