annotate runtime/delmenu.vim @ 26340:4044306e3836 v8.2.3701

patch 8.2.3701: Vim9: invalid LHS is not possible Commit: https://github.com/vim/vim/commit/c750d91a07ace532e993349aa5c13dda5c888cc0 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Nov 29 22:02:12 2021 +0000 patch 8.2.3701: Vim9: invalid LHS is not possible Problem: Vim9: invalid LHS is not possible. Solution: Remove unreachable error message.
author Bram Moolenaar <Bram@vim.org>
date Mon, 29 Nov 2021 23:15:04 +0100
parents ec92ccff5c8b
children 8f0ca93857a6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 " This Vim script deletes all the menus, so that they can be redefined.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 " Warning: This also deletes all menus defined by the user!
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 " vim: set sw=2 :