neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

delmenu.vim (1275B)


      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 
      8 aunmenu *
      9 tlunmenu *
     10 
     11 if exists('#SetupLazyloadMenus')
     12  au! SetupLazyloadMenus
     13  augroup! SetupLazyloadMenus
     14 endif
     15 
     16 if exists('#buffer_list')
     17  au! buffer_list
     18  augroup! buffer_list
     19 endif
     20 
     21 if exists('#LoadBufferMenu')
     22  au! LoadBufferMenu
     23  augroup! LoadBufferMenu
     24 endif
     25 
     26 if exists('#spellmenu')
     27  au! spellmenu
     28  augroup! spellmenu
     29 endif
     30 
     31 if exists('#SpellPopupMenu')
     32  au! SpellPopupMenu
     33  augroup! SpellPopupMenu
     34 endif
     35 
     36 unlet! g:did_install_default_menus
     37 unlet! g:did_install_syntax_menu
     38 
     39 if exists('g:did_menu_trans')
     40  menutrans clear
     41  unlet g:did_menu_trans
     42 endif
     43 
     44 unlet! g:find_help_dialog
     45 
     46 unlet! g:menutrans_fileformat_choices
     47 unlet! g:menutrans_fileformat_dialog
     48 unlet! g:menutrans_help_dialog
     49 unlet! g:menutrans_no_file
     50 unlet! g:menutrans_path_dialog
     51 unlet! g:menutrans_set_lang_to
     52 unlet! g:menutrans_spell_add_ARG_to_word_list
     53 unlet! g:menutrans_spell_change_ARG_to
     54 unlet! g:menutrans_spell_ignore_ARG
     55 unlet! g:menutrans_tags_dialog
     56 unlet! g:menutrans_textwidth_dialog
     57 
     58 " vim: set sw=2 :