diff options
author | Josh Rahm <joshuarahm@gmail.com> | 2023-11-29 22:40:31 +0000 |
---|---|---|
committer | Josh Rahm <joshuarahm@gmail.com> | 2023-11-29 22:40:31 +0000 |
commit | 339e2d15cc26fe86988ea06468d912a46c8d6f29 (patch) | |
tree | a6167fc8fcfc6ae2dc102f57b2473858eac34063 /src/nvim/ex_cmds2.h | |
parent | 067dc73729267c0262438a6fdd66e586f8496946 (diff) | |
parent | 4a8bf24ac690004aedf5540fa440e788459e5e34 (diff) | |
download | rneovim-339e2d15cc26fe86988ea06468d912a46c8d6f29.tar.gz rneovim-339e2d15cc26fe86988ea06468d912a46c8d6f29.tar.bz2 rneovim-339e2d15cc26fe86988ea06468d912a46c8d6f29.zip |
Merge remote-tracking branch 'upstream/master' into fix_repeatcmdline
Diffstat (limited to 'src/nvim/ex_cmds2.h')
-rw-r--r-- | src/nvim/ex_cmds2.h | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/src/nvim/ex_cmds2.h b/src/nvim/ex_cmds2.h index 3a41e105f3..4f41f2cc41 100644 --- a/src/nvim/ex_cmds2.h +++ b/src/nvim/ex_cmds2.h @@ -1,18 +1,17 @@ -#ifndef NVIM_EX_CMDS2_H -#define NVIM_EX_CMDS2_H +#pragma once -#include "nvim/ex_cmds_defs.h" +#include "nvim/buffer_defs.h" // IWYU pragma: keep +#include "nvim/ex_cmds_defs.h" // IWYU pragma: keep -// -// flags for check_changed() -// -#define CCGD_AW 1 // do autowrite if buffer was changed -#define CCGD_MULTWIN 2 // check also when several wins for the buf -#define CCGD_FORCEIT 4 // ! used -#define CCGD_ALLBUF 8 // may write all buffers -#define CCGD_EXCMD 16 // may suggest using ! +/// flags for check_changed() +enum { + CCGD_AW = 1, ///< do autowrite if buffer was changed + CCGD_MULTWIN = 2, ///< check also when several wins for the buf + CCGD_FORCEIT = 4, ///< ! used + CCGD_ALLBUF = 8, ///< may write all buffers + CCGD_EXCMD = 16, ///< may suggest using ! +}; #ifdef INCLUDE_GENERATED_DECLARATIONS # include "ex_cmds2.h.generated.h" #endif -#endif // NVIM_EX_CMDS2_H |