Mercurial > vim
diff runtime/doc/gui.txt @ 12756:3b26420fc639
Long overdue runtime update.
commit https://github.com/vim/vim/commit/01164a6546b4c635daf96a1f17d1cb2d07f32a66
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Nov 2 22:58:42 2017 +0100
Long overdue runtime update.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 02 Nov 2017 23:00:08 +0100 |
parents | 34c8ec888122 |
children | 65d7fd8381a3 |
line wrap: on
line diff
--- a/runtime/doc/gui.txt +++ b/runtime/doc/gui.txt @@ -482,6 +482,7 @@ menus and menu items. They are most use 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 tim 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