summaryrefslogtreecommitdiffstats
path: root/runtime/doc/gui.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-11-02 22:58:42 +0100
committerBram Moolenaar <Bram@vim.org>2017-11-02 22:58:42 +0100
commit01164a6546b4c635daf96a1f17d1cb2d07f32a66 (patch)
tree6e3ff8b26170448c1ee8c53e904738ddc10287e8 /runtime/doc/gui.txt
parentea84df8041dbbff95acb1db8532281679c5fbe5a (diff)
Long overdue runtime update.
Diffstat (limited to 'runtime/doc/gui.txt')
-rw-r--r--runtime/doc/gui.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/runtime/doc/gui.txt b/runtime/doc/gui.txt
index df02c5c80a..ab9d4b7dad 100644
--- a/runtime/doc/gui.txt
+++ b/runtime/doc/gui.txt
@@ -482,6 +482,7 @@ menus and menu items. They are most useful for things that you can't remember
what the key sequence was.
For creating menus in a different language, see |:menutrans|.
+If you don't want to use menus at all, see |'go-M'|.
*menu.vim*
The default menus are read from the file "$VIMRUNTIME/menu.vim". See
@@ -498,7 +499,11 @@ in the menu (which can take a bit of time to load). If you want to have all
filetypes already present at startup, add: >
:let do_syntax_sel_menu = 1
-<
+Note that the menu.vim is sourced when `:syntax on` or `:filetype on` is
+executed or after your .vimrc file is sourced. This means that the 'encoding'
+option and the language of messages (`:language messages`) must be set before
+that (if you want to change them).
+
*console-menus*
Although this documentation is in the GUI section, you can actually use menus
in console mode too. You will have to load |menu.vim| explicitly then, it is