mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 14:38:32 +00:00
vim-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: vim/vim#14144
9db39b0ec9
Co-authored-by: Shougo Matsushita <Shougo.Matsu@gmail.com>
This commit is contained in:
@@ -3008,7 +3008,7 @@ int buf_check_timestamp(buf_T *buf)
|
||||
can_reload = true;
|
||||
}
|
||||
|
||||
if (mesg != NULL) {
|
||||
if (mesg != NULL && !shortmess(SHM_FILEINFO)) {
|
||||
char *path = home_replace_save(buf, buf->b_fname);
|
||||
if (!helpmesg) {
|
||||
mesg2 = "";
|
||||
|
Reference in New Issue
Block a user