mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.2.0743: can move to another buffer from a terminal in popup window
Problem: Can move to another buffer from a terminal in popup window. Solution: Do not allow "gf" or editing a file. (closes #6072)
This commit is contained in:
@@ -4169,6 +4169,10 @@ nv_gotofile(cmdarg_T *cap)
|
||||
clearop(cap->oap);
|
||||
return;
|
||||
}
|
||||
#ifdef FEAT_PROP_POPUP
|
||||
if (ERROR_IF_TERM_POPUP_WINDOW)
|
||||
return;
|
||||
#endif
|
||||
|
||||
ptr = grab_file_name(cap->count1, &lnum);
|
||||
|
||||
|
Reference in New Issue
Block a user