Re-add support for the :browse command modifier

This commit is contained in:
James McCoy
2016-08-11 09:32:47 -04:00
parent 521ca58ff9
commit b805a71495
2 changed files with 3 additions and 1 deletions

View File

@@ -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;

View File

@@ -1315,6 +1315,7 @@ static char_u * do_one_cmd(char_u **cmdlinep,
continue;
}
if (checkforcmd(&ea.cmd, "browse", 3)) {
cmdmod.browse = true;
continue;
}
if (!checkforcmd(&ea.cmd, "botright", 2))