comparison src/testdir/test_options.vim @ 34495:d43c2e4b645c v9.1.0154

patch 9.1.0154: shm=F not respected when reloading buffer with 'autoread' Commit: https://github.com/vim/vim/commit/9db39b0ec90600bb41faec3a12b934b17c298b1f Author: Shougo Matsushita <Shougo.Matsu@gmail.com> Date: Wed Mar 6 20:58:41 2024 +0100 patch 9.1.0154: shm=F not respected when reloading buffer with 'autoread' Problem: shm=F not respected when reloading buffer with 'autoread' Solution: Check SHM_FILEINFO in buf_check_timestamp() (Shougo Matsushita) closes: #14144 Signed-off-by: Shougo Matsushita <Shougo.Matsu@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Wed, 06 Mar 2024 21:15:03 +0100
parents 5df45520dbe0
children a00f7e176c34
comparison
equal deleted inserted replaced
34494:0729698bec21 34495:d43c2e4b645c
1289 call assert_match('file1', execute('bn', '')) 1289 call assert_match('file1', execute('bn', ''))
1290 call assert_match('file2', execute('bn', '')) 1290 call assert_match('file2', execute('bn', ''))
1291 bwipe 1291 bwipe
1292 bwipe 1292 bwipe
1293 call assert_fails('call test_getvalue("abc")', 'E475:') 1293 call assert_fails('call test_getvalue("abc")', 'E475:')
1294 endfunc
1295
1296 func Test_shortmess_F3()
1297 defer delete('X_dummy')
1298
1299 set hidden
1300 set autoread
1301 e X_dummy
1302 e file
1303
1304 set shortmess+=F
1305 call writefile(["foo"], 'X_dummy')
1306 call assert_true(empty(execute('bn', '')))
1307 call assert_true(empty(execute('bn', '')))
1308
1309 set shortmess&
1310 set autoread&
1311 set hidden&
1312 bwipe
1313 bwipe
1294 endfunc 1314 endfunc
1295 1315
1296 func Test_local_scrolloff() 1316 func Test_local_scrolloff()
1297 set so=5 1317 set so=5
1298 set siso=7 1318 set siso=7