diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-11-29 20:32:40 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-29 20:32:40 +0800 |
commit | a6cba103cebce535279db197f9efeb34e9d1171f (patch) | |
tree | 17a8d9b4ecabf8e2c02c07e18b81c85f2e7c429f /src/nvim/runtime.c | |
parent | f4001d27efae44c6c07678ad2c72eed5f1a25ea8 (diff) | |
download | rneovim-a6cba103cebce535279db197f9efeb34e9d1171f.tar.gz rneovim-a6cba103cebce535279db197f9efeb34e9d1171f.tar.bz2 rneovim-a6cba103cebce535279db197f9efeb34e9d1171f.zip |
refactor: move some constants out of vim_defs.h (#26298)
Diffstat (limited to 'src/nvim/runtime.c')
-rw-r--r-- | src/nvim/runtime.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/nvim/runtime.c b/src/nvim/runtime.c index a0926865e6..38d3942126 100644 --- a/src/nvim/runtime.c +++ b/src/nvim/runtime.c @@ -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 |