Mercurial > vim
annotate runtime/delmenu.vim @ 29240:181099d99271
Added tag v8.2.5138 for changeset da56650de132f8050f000b30a02f46a899817366
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 20 Jun 2022 12:45:03 +0200 |
parents | ec92ccff5c8b |
children | 8f0ca93857a6 |
rev | line source |
---|---|
7 | 1 " This Vim script deletes all the menus, so that they can be redefined. |
2 " Warning: This also deletes all menus defined by the user! | |
3 " | |
4 " Maintainer: Bram Moolenaar <Bram@vim.org> | |
18860
ec92ccff5c8b
patch 8.1.2416: loading menus sets v:errmsg
Bram Moolenaar <Bram@vim.org>
parents:
18053
diff
changeset
|
5 " Last Change: 2019 Dec 10 |
7 | 6 |
7 aunmenu * | |
14952
405309f9dd13
patch 8.1.0487: no menus specifically for the terminal window
Bram Moolenaar <Bram@vim.org>
parents:
7
diff
changeset
|
8 tlunmenu * |
7 | 9 |
18860
ec92ccff5c8b
patch 8.1.2416: loading menus sets v:errmsg
Bram Moolenaar <Bram@vim.org>
parents:
18053
diff
changeset
|
10 unlet! g:did_install_default_menus |
ec92ccff5c8b
patch 8.1.2416: loading menus sets v:errmsg
Bram Moolenaar <Bram@vim.org>
parents:
18053
diff
changeset
|
11 unlet! g:did_install_syntax_menu |
ec92ccff5c8b
patch 8.1.2416: loading menus sets v:errmsg
Bram Moolenaar <Bram@vim.org>
parents:
18053
diff
changeset
|
12 |
ec92ccff5c8b
patch 8.1.2416: loading menus sets v:errmsg
Bram Moolenaar <Bram@vim.org>
parents:
18053
diff
changeset
|
13 if exists('g:did_menu_trans') |
7 | 14 menutrans clear |
18860
ec92ccff5c8b
patch 8.1.2416: loading menus sets v:errmsg
Bram Moolenaar <Bram@vim.org>
parents:
18053
diff
changeset
|
15 unlet g:did_menu_trans |
7 | 16 endif |
17 | |
18860
ec92ccff5c8b
patch 8.1.2416: loading menus sets v:errmsg
Bram Moolenaar <Bram@vim.org>
parents:
18053
diff
changeset
|
18 unlet! g:find_help_dialog |
7 | 19 |
18860
ec92ccff5c8b
patch 8.1.2416: loading menus sets v:errmsg
Bram Moolenaar <Bram@vim.org>
parents:
18053
diff
changeset
|
20 unlet! g:menutrans_fileformat_choices |
ec92ccff5c8b
patch 8.1.2416: loading menus sets v:errmsg
Bram Moolenaar <Bram@vim.org>
parents:
18053
diff
changeset
|
21 unlet! g:menutrans_fileformat_dialog |
ec92ccff5c8b
patch 8.1.2416: loading menus sets v:errmsg
Bram Moolenaar <Bram@vim.org>
parents:
18053
diff
changeset
|
22 unlet! g:menutrans_help_dialog |
ec92ccff5c8b
patch 8.1.2416: loading menus sets v:errmsg
Bram Moolenaar <Bram@vim.org>
parents:
18053
diff
changeset
|
23 unlet! g:menutrans_no_file |
ec92ccff5c8b
patch 8.1.2416: loading menus sets v:errmsg
Bram Moolenaar <Bram@vim.org>
parents:
18053
diff
changeset
|
24 unlet! g:menutrans_path_dialog |
ec92ccff5c8b
patch 8.1.2416: loading menus sets v:errmsg
Bram Moolenaar <Bram@vim.org>
parents:
18053
diff
changeset
|
25 unlet! g:menutrans_set_lang_to |
ec92ccff5c8b
patch 8.1.2416: loading menus sets v:errmsg
Bram Moolenaar <Bram@vim.org>
parents:
18053
diff
changeset
|
26 unlet! g:menutrans_spell_add_ARG_to_word_list |
ec92ccff5c8b
patch 8.1.2416: loading menus sets v:errmsg
Bram Moolenaar <Bram@vim.org>
parents:
18053
diff
changeset
|
27 unlet! g:menutrans_spell_change_ARG_to |
ec92ccff5c8b
patch 8.1.2416: loading menus sets v:errmsg
Bram Moolenaar <Bram@vim.org>
parents:
18053
diff
changeset
|
28 unlet! g:menutrans_spell_ignore_ARG |
ec92ccff5c8b
patch 8.1.2416: loading menus sets v:errmsg
Bram Moolenaar <Bram@vim.org>
parents:
18053
diff
changeset
|
29 unlet! g:menutrans_tags_dialog |
ec92ccff5c8b
patch 8.1.2416: loading menus sets v:errmsg
Bram Moolenaar <Bram@vim.org>
parents:
18053
diff
changeset
|
30 unlet! g:menutrans_textwidth_dialog |
7 | 31 |
32 " vim: set sw=2 : |