[SCM] Vim packaging branch, deb/runtime, updated. upstream/7.2.130-157-g487a727
James Vega
jamessan at debian.org
Sat Apr 18 00:48:11 UTC 2009
The following commit has been merged in the deb/runtime branch:
commit 487a7270377c9d7bbcf6f0e41d88f0063a60589d
Author: James Vega <jamessan at debian.org>
Date: Fri Apr 17 20:36:01 2009 -0400
netrw.vim: Remove local changes
Upstream fixed the typoed variable issue by switching to a function call
instead.
Signed-off-by: James Vega <jamessan at debian.org>
diff --git a/runtime/autoload/netrw.vim b/runtime/autoload/netrw.vim
index c34bc8c..2dadcfa 100644
--- a/runtime/autoload/netrw.vim
+++ b/runtime/autoload/netrw.vim
@@ -2501,7 +2501,7 @@ endfun
" ---------------------------------------------------------------------
" s:NetrwGetWord: it gets the directory/file named under the cursor {{{2
fun! s:NetrwGetWord()
-" call Dfunc("s:NetrwGetWord() line#".line(".")." liststyle=".g:netrw_liststyle." virtcol=".w:netrw_col)
+" call Dfunc("s:NetrwGetWord() line#".line(".")." liststyle=".g:netrw_liststyle." virtcol=".virtcol("."))
call s:UseBufWinVars()
" insure that w:netrw_liststyle is set up
@@ -2570,8 +2570,8 @@ fun! s:NetrwGetWord()
endif
" call Decho("buf#".bufnr("%")."<".bufname("%").">")
- let filestart = (w:netrw_col/b:netrw_cpf)*b:netrw_cpf
-" call Decho("filestart= ([virtcol=".w:netrw_col."]/[b:netrw_cpf=".b:netrw_cpf."])*b:netrw_cpf=".filestart." bannercnt=".w:netrw_bannercnt)
+ let filestart = (virtcol(".")/b:netrw_cpf)*b:netrw_cpf
+" call Decho("filestart= ([virtcol=".virtcol(".")."]/[b:netrw_cpf=".b:netrw_cpf."])*b:netrw_cpf=".filestart." bannercnt=".w:netrw_bannercnt)
" call Decho("1: dirname<".dirname.">")
if filestart == 0
norm! 0ma
--
Vim packaging
More information about the pkg-vim-maintainers
mailing list