Mercurial > vim
view runtime/delmenu.vim @ 13519:4a44c90dd671 v8.0.1633
patch 8.0.1633: a TextChanged autocmd triggers when it is defined
commit https://github.com/vim/vim/commit/8c64a36e40b8746404f7151abe6849393396af10
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Mar 23 22:39:31 2018 +0100
patch 8.0.1633: a TextChanged autocmd triggers when it is defined
Problem: A TextChanged autocmd triggers when it is defined after creating a
buffer.
Solution: Set b_last_changedtick when opening a buffer. (Hirohito Highlight,
closes #2742)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 23 Mar 2018 22:45:07 +0100 |
parents | 3fc0f57ecb91 |
children | 405309f9dd13 |
line wrap: on
line source
" 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 <Bram@vim.org> " Last Change: 2001 May 27 aunmenu * 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 :