> 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)
--
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
> 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
--
Best,
Ben
On Wed, October 6, 2010 3:59 am, Zac Lee wrote:
[patch for height of preview window]
> could you send the patch to me? thanks
http://groups.google.com/group/vim_dev/msg/9c303a0e3c357f64
regards,
Christian