From 8baab3c8d7a6f22888bd581cd5c6098fd2e4b5a8 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 6 May 2024 04:44:24 +0200 Subject: Adding upstream version 2:8.1.0875. Signed-off-by: Daniel Baumann --- runtime/delmenu.vim | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 runtime/delmenu.vim (limited to 'runtime/delmenu.vim') diff --git a/runtime/delmenu.vim b/runtime/delmenu.vim new file mode 100644 index 0000000..5cefe26 --- /dev/null +++ b/runtime/delmenu.vim @@ -0,0 +1,26 @@ +" This Vim script deletes all the menus, so that they can be redefined. +" Warning: This also deletes all menus defined by the user! +" +" Maintainer: Bram Moolenaar +" Last Change: 2001 May 27 + +aunmenu * +tlunmenu * + +silent! unlet did_install_default_menus +silent! unlet did_install_syntax_menu +if exists("did_menu_trans") + menutrans clear + unlet did_menu_trans +endif + +silent! unlet find_help_dialog + +silent! unlet menutrans_help_dialog +silent! unlet menutrans_path_dialog +silent! unlet menutrans_tags_dialog +silent! unlet menutrans_textwidth_dialog +silent! unlet menutrans_fileformat_dialog +silent! unlet menutrans_no_file + +" vim: set sw=2 : -- cgit v1.2.3