Mercurial > vim
view runtime/delmenu.vim @ 14206:f2ab259ef88a v8.1.0120
patch 8.1.0120: buffer 'modified' set even when :sort has no changes
commit https://github.com/vim/vim/commit/dc9e955fb07f410d5d3e981ce18d895dd2847c85
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jun 28 11:28:08 2018 +0200
patch 8.1.0120: buffer 'modified' set even when :sort has no changes
Problem: Buffer 'modified' set even when :sort has no changes.
Solution: Only set 'modified' when lines are moved. (Jason Franklin)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 28 Jun 2018 11:30:07 +0200 |
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 :