robin/laufey
git clone https://git.robinwobin.dev/robin/laufey
cbf54ec2a5
master
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: The Vim Project <https://github.com/vim/vim> 5" Last Change: 2023 Aug 10 6" Former Maintainer: Bram Moolenaar <Bram@vim.org> 7 8aunmenu * 9tlunmenu * 10 11if exists ( '#SetupLazyloadMenus' ) 12au ! SetupLazyloadMenus 13augroup ! SetupLazyloadMenus 14endif 15 16if exists ( '#buffer_list' ) 17au ! buffer_list 18augroup ! buffer_list 19endif 20 21if exists ( '#LoadBufferMenu' ) 22au ! LoadBufferMenu 23augroup ! LoadBufferMenu 24endif 25 26if exists ( '#spellmenu' ) 27au ! spellmenu 28augroup ! spellmenu 29endif 30 31if exists ( '#SpellPopupMenu' ) 32au ! SpellPopupMenu 33augroup ! SpellPopupMenu 34endif 35 36unlet ! g: did_install_default_menus 37unlet ! g: did_install_syntax_menu 38 39if exists ( 'g:did_menu_trans' ) 40menutrans clear 41unlet g: did_menu_trans 42endif 43 44unlet ! g: find_help_dialog 45 46unlet ! g: menutrans_fileformat_choices 47unlet ! g: menutrans_fileformat_dialog 48unlet ! g: menutrans_help_dialog 49unlet ! g: menutrans_no_file 50unlet ! g: menutrans_path_dialog 51unlet ! g: menutrans_set_lang_to 52unlet ! g: menutrans_spell_add_ARG_to_word_list 53unlet ! g: menutrans_spell_change_ARG_to 54unlet ! g: menutrans_spell_ignore_ARG 55unlet ! g: menutrans_tags_dialog 56unlet ! g: menutrans_textwidth_dialog 57 58" vim: set sw=2 :