Just, I could reproduce it. ;)
Thanks.

Vim did not work correctly to call completefunc since patch7.3.298 .
If leading characters are changed after showing popup, completefunc should 
be called in fact.
But completefunc hadn't called.
This is bug of vim that Muraoka pointed.

Thus, acp just need to check wheter second argument 'a:base' is empty or 
not.
(Sorry, I'm not sure)

diff -r 13fe3d806464 autoload/acp.vim
--- a/autoload/acp.vim Thu Sep 30 18:22:27 2010 +0900
+++ b/autoload/acp.vim Tue Sep 06 11:35:33 2011 +0900
@@ -166,6 +166,9 @@
     let s:posSnipmateCompletion = len(matchstr(s:getCurrentText(), '.*\U'))
     return s:posSnipmateCompletion
   endif
+  if a:base == ''
+    return []
+  endif
   let lenBase = len(a:base)
   let items = filter(GetSnipsInCurrentScope(),
         \            'strpart(v:key, 0, lenBase) ==? a:base')

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

Raspunde prin e-mail lui