blob: b614851d89b4a8f04e5f11f278552992deed7a4e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
" This Vim script deletes all the menus, so that they can be redefined.
" Warning: This also deletes all menus defined by the user!
"
" Maintainer: The Vim Project <https://github.com/vim/vim>
" Last Change: 2023 Aug 10
" Former Maintainer: Bram Moolenaar <Bram@vim.org>
aunmenu *
tlunmenu *
if exists('#SetupLazyloadMenus')
au! SetupLazyloadMenus
augroup! SetupLazyloadMenus
endif
if exists('#buffer_list')
au! buffer_list
augroup! buffer_list
endif
if exists('#LoadBufferMenu')
au! LoadBufferMenu
augroup! LoadBufferMenu
endif
if exists('#spellmenu')
au! spellmenu
augroup! spellmenu
endif
if exists('#SpellPopupMenu')
au! SpellPopupMenu
augroup! SpellPopupMenu
endif
unlet! g:did_install_default_menus
unlet! g:did_install_syntax_menu
if exists('g:did_menu_trans')
menutrans clear
unlet g:did_menu_trans
endif
unlet! g:find_help_dialog
unlet! g:menutrans_fileformat_choices
unlet! g:menutrans_fileformat_dialog
unlet! g:menutrans_help_dialog
unlet! g:menutrans_no_file
unlet! g:menutrans_path_dialog
unlet! g:menutrans_set_lang_to
unlet! g:menutrans_spell_add_ARG_to_word_list
unlet! g:menutrans_spell_change_ARG_to
unlet! g:menutrans_spell_ignore_ARG
unlet! g:menutrans_tags_dialog
unlet! g:menutrans_textwidth_dialog
" vim: set sw=2 :
|