diff options
Diffstat (limited to 'src/nvim/ex_cmds_defs.h')
-rw-r--r-- | src/nvim/ex_cmds_defs.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/nvim/ex_cmds_defs.h b/src/nvim/ex_cmds_defs.h index 00363884ec..827680cbb5 100644 --- a/src/nvim/ex_cmds_defs.h +++ b/src/nvim/ex_cmds_defs.h @@ -5,8 +5,7 @@ #include "nvim/eval/typval_defs.h" #include "nvim/ex_eval_defs.h" -#include "nvim/normal_defs.h" -#include "nvim/pos_defs.h" +#include "nvim/os/time_defs.h" #include "nvim/regexp_defs.h" #ifdef INCLUDE_GENERATED_DECLARATIONS @@ -127,7 +126,7 @@ struct aucmd_executable_t { typedef char *(*LineGetter)(int, void *, int, bool); /// Structure for command definition. -typedef struct cmdname { +typedef struct { char *cmd_name; ///< Name of the command. ex_func_T cmd_func; ///< Function with implementation of this command. ex_preview_func_T cmd_preview_func; ///< Preview callback function of this command. @@ -229,3 +228,10 @@ typedef struct { bool bar; } magic; } CmdParseInfo; + +/// Previous :substitute replacement string definition +typedef struct { + char *sub; ///< Previous replacement string. + Timestamp timestamp; ///< Time when it was last set. + list_T *additional_elements; ///< Additional data left from ShaDa file. +} SubReplacementString; |