diff options
author | James McCoy <jamessan@jamessan.com> | 2016-08-11 12:11:18 -0400 |
---|---|---|
committer | James McCoy <jamessan@jamessan.com> | 2016-08-11 13:37:42 -0400 |
commit | 6aefd14482fe58d4c056bd8e1e1651640387a36e (patch) | |
tree | 25cd8cc23f9e61157ebd8e52b4495b1b7a81744d /src | |
parent | d0c0930acfeb8d6dc299a56d2c12cd0aa3fc960f (diff) | |
download | rneovim-6aefd14482fe58d4c056bd8e1e1651640387a36e.tar.gz rneovim-6aefd14482fe58d4c056bd8e1e1651640387a36e.tar.bz2 rneovim-6aefd14482fe58d4c056bd8e1e1651640387a36e.zip |
lint
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/ex_cmds_defs.h | 32 |
1 files changed, 15 insertions, 17 deletions
diff --git a/src/nvim/ex_cmds_defs.h b/src/nvim/ex_cmds_defs.h index 96bfbefc16..421c14b495 100644 --- a/src/nvim/ex_cmds_defs.h +++ b/src/nvim/ex_cmds_defs.h @@ -160,24 +160,22 @@ typedef struct expand { #define XP_BS_ONE 1 /* uses one backslash before a space */ #define XP_BS_THREE 2 /* uses three backslashes before a space */ -/* - * Command modifiers ":vertical", ":browse", ":confirm" and ":hide" set a flag. - * This needs to be saved for recursive commands, put them in a structure for - * easy manipulation. - */ +/// Command modifiers ":vertical", ":browse", ":confirm", ":hide", etc. set a +/// flag. This needs to be saved for recursive commands, put them in a +/// structure for easy manipulation. typedef struct { - int hide; /* TRUE when ":hide" was used */ - int split; /* flags for win_split() */ - int tab; /* > 0 when ":tab" was used */ - int confirm; /* TRUE to invoke yes/no dialog */ - int keepalt; /* TRUE when ":keepalt" was used */ - int keepmarks; /* TRUE when ":keepmarks" was used */ - int keepjumps; /* TRUE when ":keepjumps" was used */ - 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' */ + int hide; ///< TRUE when ":hide" was used + int split; ///< flags for win_split() + int tab; ///< > 0 when ":tab" was used + int confirm; ///< TRUE to invoke yes/no dialog + int keepalt; ///< TRUE when ":keepalt" was used + int keepmarks; ///< TRUE when ":keepmarks" was used + int keepjumps; ///< TRUE when ":keepjumps" was used + 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; #endif // NVIM_EX_CMDS_DEFS_H |