updated for version 7.0052
This commit is contained in:
@ -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: 2005 Feb 03
|
||||
" Last Change: 2005 Feb 24
|
||||
|
||||
" 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.
|
||||
@ -54,7 +54,7 @@ if exists("v:lang") || &langmenu != ""
|
||||
" There is no exact match, try matching with a wildcard added
|
||||
" (e.g. find menu_de_de.iso_8859-1.vim if s:lang == de_DE).
|
||||
let s:lang = substitute(s:lang, '\.[^.]*', "", "")
|
||||
exe "runtime! lang/menu_" . s:lang . "[^a-z]*.vim"
|
||||
exe "runtime! lang/menu_" . s:lang . "[^a-z]*vim"
|
||||
|
||||
if !exists("did_menu_trans") && strlen($LANG) > 1
|
||||
" On windows locale names are complicated, try using $LANG, it might
|
||||
|
||||
Reference in New Issue
Block a user