Wednesday, September 29, 2010

Re: how to set omnifunc complete window height (with img)

On Wed, 29 Sep 2010, Zac Lee wrote:

> On Wed, Sep 29, 2010 at 12:51 AM, Benjamin R. Haskell wrote:
>
>> On Tue, 28 Sep 2010, Zac Lee wrote:
>>
>>> how to set the scratch window height ? it is 3 now, I want to set 1.
>>> the script is phpcomplete:
>>> http://www.vim.org/scripts/script.php?script_id=3171
>>>
>>
>> Add:
>> set previewheight=1
>> to your ~/.vimrc or %HOME%\_vimrc
>>
>> Or to:
>> ~/.vim/after/syntax/php.vim or %HOME%\vimfiles\after\syntax.php
>> if you only want to change it for PHP completion.
>>
>>
>> Caveat: see recent discussion topic: "Is this a bug with
>> 'previewheight'?". Perhaps some plugin(s) prevent(s) previewheight=1
>> from doing what it's supposed to. (worksforme)
>
> I have try, but it does not work.
>

Sent patch to vim-dev. The preview window for popup-menu detailed info
was hardcoded to 3. After the patch, setting:

set previewheight=1

caused the info window to be 1 line high.

--
Best,
Ben

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