r562 - in trunk/vim7: debian patches

Stefano Zacchiroli zack at costa.debian.org
Thu Mar 30 23:20:13 UTC 2006


Author: zack
Date: 2006-03-30 23:20:10 +0000 (Thu, 30 Mar 2006)
New Revision: 562

Added:
   trunk/vim7/patches/102_pycomplete.vim.diff
Modified:
   trunk/vim7/debian/changelog
   trunk/vim7/patches/series
Log:
patch for pycomplete.vim


Modified: trunk/vim7/debian/changelog
===================================================================
--- trunk/vim7/debian/changelog	2006-03-30 16:57:27 UTC (rev 561)
+++ trunk/vim7/debian/changelog	2006-03-30 23:20:10 UTC (rev 562)
@@ -36,6 +36,8 @@
       133_filetype.vim.diff, 142_filetype.vim.diff, 153_filetype.vim.diff,
       154_svn.vim.diff, 156_scripts.vim.diff, 158_python.vim.diff,
       301_xxd.c.diff, 303_option.c.diff, 305_term.c.diff
+  * Added patch 102_pycomplete.vim: fixes a python omnicompletion bug when the
+    cursor is on an empty line
 
   [ Matthijs Mohlmann ]
   * Updated debsources syntax file.

Added: trunk/vim7/patches/102_pycomplete.vim.diff
===================================================================
--- trunk/vim7/patches/102_pycomplete.vim.diff	2006-03-30 16:57:27 UTC (rev 561)
+++ trunk/vim7/patches/102_pycomplete.vim.diff	2006-03-30 23:20:10 UTC (rev 562)
@@ -0,0 +1,13 @@
+Index: vim/runtime/autoload/pycomplete.vim
+===================================================================
+--- vim/runtime/autoload/pycomplete.vim.orig
++++ vim/runtime/autoload/pycomplete.vim
+@@ -85,7 +85,7 @@
+ def get_completions(base):
+     stmt = vim.eval('expand("<cWORD>")')
+     #dbg(1,"statement: %s - %s" % (stmt, base))
+-    stmt = stmt+base
++    stmt = str(stmt)+base
+     eval_source_code()
+ 
+     try:

Modified: trunk/vim7/patches/series
===================================================================
--- trunk/vim7/patches/series	2006-03-30 16:57:27 UTC (rev 561)
+++ trunk/vim7/patches/series	2006-03-30 23:20:10 UTC (rev 562)
@@ -1,4 +1,5 @@
 101_make.vim.diff -p0
+102_pycomplete.vim.diff -p0
 103_sh.vim.diff -p0
 104_debchangelog.vim.diff -p0
 106_fstab.vim.diff -p0




More information about the pkg-vim-maintainers mailing list