Saturday, July 9, 2011

Re: Supertab eclim

Excerpts from eleanor's message of Fri Jul 08 13:45:46 +0200 2011:
> Is it possible to program supertab so it can also show the results from
> eclim plugin?

Of course everything can be made work in some way. The issue is that
vim's completion allows returning a starting point where the text starts
to be replaced.

.FOOBAR
^
.FOOBAR
^

So theoretically two completions could return a different starting
point. I don't know how supertab works. But eventually its best to
create your own custom mapping for different completions:

This shows how it can be done easily (line 7 or 12)
https://github.com/MarcWeber/vim-addon-completion/blob/be83a8e694c77f1d5e5df4fd803fb5c9fd3fa7c7/doc/vim-addon-completion.txt

In the eclim case its *you* who want to decide which completions to run
- for speed reasons anyway ?

Marc Weber

--
You received this message from the "vim_use" 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

No comments: