Mercurial > vim
comparison runtime/delmenu.vim @ 29601:8f0ca93857a6 v9.0.0141
patch 9.0.0141: "delmenu" does not remove autocmmands
Commit: https://github.com/vim/vim/commit/206fce307b265f7f6c6290b623a80c1d846dd131
Author: zeertzjq <zeertzjq@outlook.com>
Date: Fri Aug 5 10:52:30 2022 +0100
patch 9.0.0141: "delmenu" does not remove autocmmands
Problem: "delmenu" does not remove autocmmands. Running menu test function
alone fails.
Solution: Delete autocommands Make sure there is at least one menu.
(closes #10848)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 05 Aug 2022 12:00:08 +0200 |
parents | ec92ccff5c8b |
children | 4027cefc2aab |
comparison
equal
deleted
inserted
replaced
29600:8932f7a1b79b | 29601:8f0ca93857a6 |
---|---|
4 " Maintainer: Bram Moolenaar <Bram@vim.org> | 4 " Maintainer: Bram Moolenaar <Bram@vim.org> |
5 " Last Change: 2019 Dec 10 | 5 " Last Change: 2019 Dec 10 |
6 | 6 |
7 aunmenu * | 7 aunmenu * |
8 tlunmenu * | 8 tlunmenu * |
9 | |
10 if exists('#SetupLazyloadMenus') | |
11 au! SetupLazyloadMenus | |
12 augroup! SetupLazyloadMenus | |
13 endif | |
14 | |
15 if exists('#buffer_list') | |
16 au! buffer_list | |
17 augroup! buffer_list | |
18 endif | |
19 | |
20 if exists('#LoadBufferMenu') | |
21 au! LoadBufferMenu | |
22 augroup! LoadBufferMenu | |
23 endif | |
24 | |
25 if exists('#spellmenu') | |
26 au! spellmenu | |
27 augroup! spellmenu | |
28 endif | |
29 | |
30 if exists('#SpellPopupMenu') | |
31 au! SpellPopupMenu | |
32 augroup! SpellPopupMenu | |
33 endif | |
9 | 34 |
10 unlet! g:did_install_default_menus | 35 unlet! g:did_install_default_menus |
11 unlet! g:did_install_syntax_menu | 36 unlet! g:did_install_syntax_menu |
12 | 37 |
13 if exists('g:did_menu_trans') | 38 if exists('g:did_menu_trans') |