Tuesday, September 28, 2010

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

I have try, but it does not work.

On Wed, Sep 29, 2010 at 12:51 AM, Benjamin R. Haskell <vim@benizi.com> 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)

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

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