From 5abe94420528d3e107eceb0f3df073e8a1270191 Mon Sep 17 00:00:00 2001 From: Randy Palamar Date: Sat, 13 Dec 2025 09:37:21 -0700 Subject: make vis a single file build --- text.c | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) (limited to 'text.c') diff --git a/text.c b/text.c index 399fa4b..f2ecce8 100644 --- a/text.c +++ b/text.c @@ -13,13 +13,25 @@ #include #include -#include "text.h" -#include "text-util.h" -#include "text-motions.h" #include "util.h" + #include "array.h" + +#include "text.h" #include "text-internal.h" +#include "text-common.c" +#include "text-io.c" +#include "text-iterator.c" +#include "text-motions.c" +#include "text-objects.c" +#if CONFIG_TRE + #include "text-regex-tre.c" +#else + #include "text-regex.c" +#endif +#include "text-util.c" + /* A piece holds a reference (but doesn't itself store) a certain amount of data. * All active pieces chained together form the whole content of the document. * At the beginning there exists only one piece, spanning the whole document. -- cgit v1.2.3