testKeepModified.vim 200 B

12345678
  1. source helper.vim
  2. call Setup()
  3. normal 5Go*
  4. call Dump("modified: ".getbufvar('', '&modified'), 'keepModified')
  5. doautocmd CursorHold
  6. call Dump("modified: ".getbufvar('', '&modified'), 'keepModified')