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/regexp.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/regexp.h')
-rw-r--r-- | src/nvim/regexp.h | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/src/nvim/regexp.h b/src/nvim/regexp.h index dcc58fa34c..447f4860a9 100644 --- a/src/nvim/regexp.h +++ b/src/nvim/regexp.h @@ -1,27 +1,22 @@ -#ifndef NVIM_REGEXP_H -#define NVIM_REGEXP_H +#pragma once -#include "nvim/buffer_defs.h" -#include "nvim/regexp_defs.h" -#include "nvim/types.h" +#include "nvim/buffer_defs.h" // IWYU pragma: keep +#include "nvim/pos_defs.h" // IWYU pragma: keep +#include "nvim/regexp_defs.h" // IWYU pragma: export +#include "nvim/types_defs.h" // IWYU pragma: keep // Second argument for vim_regcomp(). #define RE_MAGIC 1 ///< 'magic' option #define RE_STRING 2 ///< match in string instead of buffer text #define RE_STRICT 4 ///< don't allow [abc] without ] #define RE_AUTO 8 ///< automatic engine selection +#define RE_NOBREAK 16 ///< don't use breakcheck functions // values for reg_do_extmatch #define REX_SET 1 ///< to allow \z\(...\), #define REX_USE 2 ///< to allow \z\1 et al. #define REX_ALL (REX_SET | REX_USE) -// regexp.c -// uncrustify:off #ifdef INCLUDE_GENERATED_DECLARATIONS # include "regexp.h.generated.h" -# include "regexp_bt.h.generated.h" #endif -// uncrustify:on - -#endif // NVIM_REGEXP_H |