Skip to main content
Module

x/denops_std/option/mod.ts>langmenu

📚 Standard module for denops.vim
Go to Latest
variable langmenu
import { langmenu } from "https://deno.land/x/denops_std@v6.3.0/option/mod.ts";

Language to use for menu translation. Tells which file is loaded from the "lang" directory in 'runtimepath':

"lang/menu_" .. &langmenu .. ".vim"

(without the spaces). For example, to always use the Dutch menus, no matter what $LANG is set to:

:set langmenu=nl_NL.ISO_8859-1

When 'langmenu' is empty, v:lang is used. Only normal file name characters can be used, "/\*?[|<>" are illegal. If your $LANG is set to a non-English language but you do want to use the English menus:

:set langmenu=none

This option must be set before loading menus, switching on filetype detection or syntax highlighting. Once the menus are defined setting this option has no effect. But you could do this:

:source $VIMRUNTIME/delmenu.vim
:set langmenu=de_DE.ISO_8859-1
:source $VIMRUNTIME/menu.vim

Warning: This deletes all menus that you defined yourself!

(default "")

only available when compiled with the +menu and +multi_lang features