mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 22:48:34 +00:00
refactor: move some constants out of vim_defs.h (#26298)
This commit is contained in:
@@ -55,6 +55,9 @@
|
||||
#include "nvim/types_defs.h"
|
||||
#include "nvim/usercmd.h"
|
||||
#include "nvim/vim_defs.h"
|
||||
#ifdef USE_CRNL
|
||||
# include "nvim/highlight.h"
|
||||
#endif
|
||||
|
||||
/// Structure used to store info for each sourced file.
|
||||
/// It is shared between do_source() and getsourceline().
|
||||
@@ -65,7 +68,7 @@ struct source_cookie {
|
||||
char *nextline; ///< if not NULL: line that was read ahead
|
||||
linenr_T sourcing_lnum; ///< line number of the source file
|
||||
int finished; ///< ":finish" used
|
||||
#if defined(USE_CRNL)
|
||||
#ifdef USE_CRNL
|
||||
int fileformat; ///< EOL_UNKNOWN, EOL_UNIX or EOL_DOS
|
||||
bool error; ///< true if LF found after CR-LF
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user