On Mar 7, 12:19 am, Ben Schmidt <mail_ben_schm...@yahoo.com.au> wrote:

> I think it's a bug. Here's the fix:
>
> diff --git a/runtime/menu.vim b/runtime/menu.vim
> --- a/runtime/menu.vim
> +++ b/runtime/menu.vim
> @@ -101,7 +101,7 @@
>   an 10.320 &File.Open\ Tab\.\.\.<Tab>:tabnew    :browse tabnew<CR>
>   an 10.325 &File.&New<Tab>:enew                 :confirm enew<CR>
>   an <silent> 10.330 &File.&Close<Tab>:close
> -       \ :if winheight(2) < 0 <Bar>
> +       \ :if winheight(2) < 0 && tabpagewinnr(2) == 0 <Bar>
>          \   confirm enew <Bar>
>          \ else <Bar>
>          \   confirm close <Bar>
>
> OK to include, Bram?
>
> Ben.

Thank you Ben.

Regards, Jean

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

Raspunde prin e-mail lui