refactor: move some constants out of vim_defs.h (#26298)

This commit is contained in:
zeertzjq
2023-11-29 20:32:40 +08:00
committed by GitHub
parent f4001d27ef
commit a6cba103ce
89 changed files with 339 additions and 352 deletions

View File

@@ -64,6 +64,12 @@ enum {
CA_NO_ADJ_OP_END = 2, ///< don't adjust operator end
};
/// Replacement for nchar used by nv_replace().
enum {
REPLACE_CR_NCHAR = -1,
REPLACE_NL_NCHAR = -2,
};
/// columns needed by shown command
enum { SHOWCMD_COLS = 10, };
enum { SHOWCMD_BUFLEN = SHOWCMD_COLS + 1 + 30, };