aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/regexp.h
diff options
context:
space:
mode:
authordundargoc <gocdundar@gmail.com>2023-11-04 12:25:50 +0100
committerdundargoc <33953936+dundargoc@users.noreply.github.com>2023-11-05 11:48:42 +0100
commit4d757bbfbb6c0e5280563779c4b4ee1ce9142cf0 (patch)
tree17f2259504d3c592965119bf4c9e4ed83a88dcb5 /src/nvim/regexp.h
parent92e99bb1058dd837c451675175efb8511c5f8e15 (diff)
downloadrneovim-4d757bbfbb6c0e5280563779c4b4ee1ce9142cf0.tar.gz
rneovim-4d757bbfbb6c0e5280563779c4b4ee1ce9142cf0.tar.bz2
rneovim-4d757bbfbb6c0e5280563779c4b4ee1ce9142cf0.zip
refactor: combine regexp files
regext_bt.c and regexp_nfa.c are inlined into regexp.c instead of included as a header. This makes developer tools like clang-tidy and clangd be able to understand the code better.
Diffstat (limited to 'src/nvim/regexp.h')
-rw-r--r--src/nvim/regexp.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/nvim/regexp.h b/src/nvim/regexp.h
index 95296a5f90..5760b4a4fa 100644
--- a/src/nvim/regexp.h
+++ b/src/nvim/regexp.h
@@ -17,12 +17,8 @@
#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