mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 03:18:16 +00:00
Re-add support for the :browse command modifier
This commit is contained in:
@@ -176,6 +176,7 @@ typedef struct {
|
||||
int lockmarks; /* TRUE when ":lockmarks" was used */
|
||||
int keeppatterns; /* TRUE when ":keeppatterns" was used */
|
||||
bool noswapfile; /* true when ":noswapfile" was used */
|
||||
bool browse; ///< TRUE to invoke file dialog
|
||||
char_u *save_ei; /* saved value of 'eventignore' */
|
||||
} cmdmod_T;
|
||||
|
||||
|
@@ -1313,8 +1313,9 @@ static char_u * do_one_cmd(char_u **cmdlinep,
|
||||
case 'b': if (checkforcmd(&ea.cmd, "belowright", 3)) {
|
||||
cmdmod.split |= WSP_BELOW;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
if (checkforcmd(&ea.cmd, "browse", 3)) {
|
||||
cmdmod.browse = true;
|
||||
continue;
|
||||
}
|
||||
if (!checkforcmd(&ea.cmd, "botright", 2))
|
||||
|
Reference in New Issue
Block a user