delmenu.vim 795 B

1234567891011121314151617181920212223242526272829303132
  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: Bram Moolenaar <Bram@vim.org>
  5. " Last Change: 2019 Dec 10
  6. aunmenu *
  7. unlet! g:did_install_default_menus
  8. unlet! g:did_install_syntax_menu
  9. if exists('g:did_menu_trans')
  10. menutrans clear
  11. unlet g:did_menu_trans
  12. endif
  13. unlet! g:find_help_dialog
  14. unlet! g:menutrans_fileformat_choices
  15. unlet! g:menutrans_fileformat_dialog
  16. unlet! g:menutrans_help_dialog
  17. unlet! g:menutrans_no_file
  18. unlet! g:menutrans_path_dialog
  19. unlet! g:menutrans_set_lang_to
  20. unlet! g:menutrans_spell_add_ARG_to_word_list
  21. unlet! g:menutrans_spell_change_ARG_to
  22. unlet! g:menutrans_spell_ignore_ARG
  23. unlet! g:menutrans_tags_dialog
  24. unlet! g:menutrans_textwidth_dialog
  25. " vim: set sw=2 :