summaryrefslogtreecommitdiff
path: root/runtime/menu.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2011-03-22 17:40:10 +0100
committerBram Moolenaar <Bram@vim.org>2011-03-22 17:40:10 +0100
commitcab49dff91922dd8af0ca959968bc24cb6298485 (patch)
treec19c8af1a47a065e911523e1eae5e35752b54e44 /runtime/menu.vim
parenta29a37d533744e1b8200b1d2e032d0f8d186ab98 (diff)
downloadvim-git-cab49dff91922dd8af0ca959968bc24cb6298485.tar.gz
Updated runtime file. Fix Italian translations.
Diffstat (limited to 'runtime/menu.vim')
-rw-r--r--runtime/menu.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/menu.vim b/runtime/menu.vim
index 2cbd55c4e..91ab6e83f 100644
--- a/runtime/menu.vim
+++ b/runtime/menu.vim
@@ -2,7 +2,7 @@
" You can also use this as a start for your own set of menus.
"
" Maintainer: Bram Moolenaar <Bram@vim.org>
-" Last Change: 2009 Feb 26
+" Last Change: 2011 Mar 22
" Note that ":an" (short for ":anoremenu") is often used to make a menu work
" in all modes and avoid side effects from mappings defined by the user.
@@ -101,7 +101,7 @@ an 10.320 &File.Sp&lit-Open\.\.\.<Tab>:sp :browse sp<CR>
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>