completor.vim icon indicating copy to clipboard operation
completor.vim copied to clipboard

Scratch window preview of selected item

Open bwmarrin opened this issue 7 years ago • 2 comments

I'm trying out completor for the first time and maybe I'm missing what I'm looking for - but with my previous plugin (VimCompletesMe) when I selected an item from the completion list it would display the func definition in a scratch window at the top of the page.

That feature is super helpful because I can't always remember the full func definition.

So far, I've just installed completor and completion is working, it shows the func definition when the completion menu pops up but when I select a func that window goes away and no scratch window opens.

Is there a way to configure completor to push the func definition into a scratch window for me?

bwmarrin avatar Aug 22 '18 15:08 bwmarrin

Add to your ~/.vimrc:

let g:completor_auto_close_doc = 0

See: g:completor_auto_close_doc

dNitro avatar Sep 13 '18 16:09 dNitro

If I read that right, that controls rather the preview window is closed after the autocomplete finishes. In my case, the preview window never even opens to begin with. However I will give this a try and report back.

bwmarrin avatar Sep 18 '18 21:09 bwmarrin