refactor(api): remove redundant fields of CmdParseInfo

This commit is contained in:
zeertzjq
2022-06-13 20:04:31 +08:00
parent da41ca299f
commit dad898b665
3 changed files with 26 additions and 35 deletions

View File

@@ -280,12 +280,8 @@ typedef struct {
/// Stores command modifier info used by `nvim_parse_cmd`
typedef struct {
bool silent;
bool emsg_silent;
bool sandbox;
bool noautocmd;
int verbose; ///< unlike cmod_verbose, -1 is used when unspecified and 0 for zero override
cmdmod_T cmdmod;
int verbose; ///< unlike cmod_verbose, -1 is used when unspecified and 0 for zero override
struct {
bool file;
bool bar;