Bram,
While looking into the improved cscope test from Dominique and trying to
find out, how to get commandline completion, I noticed a bug.
Try this:
vim -u NONE -N
:echo getcompletion('', 'cscope')
['add', 'find', 'help', 'kill', 'reset', 'show']
Now enter:
:cscope find <c-d><esc>
:echo getcompletion('', 'cscope')
['a', 'c', 'd', 'e', 'f', 'g', 'i', 's', 't']
:cscope kill <c-d><esc>
:echo getcompletion('', 'cscope')
[]
So it looks like, depending on when <c-d> was used last time in the
commandline, that state is remembered and used again for the
getcompletion() function.
Sorry, I have currently no time to look into the issue myself, just
thought I report what I found out.
Best,
Christian
--
Hauptsache es geht vorwärts - die Richtung ist egal.
--
--
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
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.