forked from aniani/vim
patch 9.1.0147: Cannot keep a buffer focused in a window
Problem: Cannot keep a buffer focused in a window (Amit Levy) Solution: Add the 'winfixbuf' window-local option (Colin Kennedy) fixes: #6445 closes: #13903 Signed-off-by: Colin Kennedy <colinvfx@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
353faa373e
commit
2157035637
@@ -2428,6 +2428,9 @@ getfile(
|
||||
int retval;
|
||||
char_u *free_me = NULL;
|
||||
|
||||
if (!check_can_set_curbuf_forceit(forceit))
|
||||
return GETFILE_ERROR;
|
||||
|
||||
if (text_locked())
|
||||
return GETFILE_ERROR;
|
||||
if (curbuf_locked())
|
||||
|
Reference in New Issue
Block a user