patch 8.2.0674: some source files are too big
Problem: Some source files are too big.
Solution: Move text formatting functions to a new file. (Yegappan
Lakshmanan, closes #6021)
diff --git a/src/Makefile b/src/Makefile
index 8a12cb8..6c7ef85 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1680,6 +1680,7 @@
term.c \
terminal.c \
testing.c \
+ textformat.c \
textobject.c \
textprop.c \
time.c \
@@ -1823,6 +1824,7 @@
objects/term.o \
objects/terminal.o \
objects/testing.o \
+ objects/textformat.o \
objects/textobject.o \
objects/textprop.o \
objects/time.o \
@@ -1998,6 +2000,7 @@
terminal.pro \
termlib.pro \
testing.pro \
+ textformat.pro \
textobject.pro \
textprop.pro \
time.pro \
@@ -3479,6 +3482,9 @@
objects/testing.o: testing.c
$(CCC) -o $@ testing.c
+objects/textformat.o: textformat.c
+ $(CCC) -o $@ textformat.c
+
objects/textobject.o: textobject.c
$(CCC) -o $@ textobject.c
@@ -4073,6 +4079,10 @@
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
proto.h globals.h
+objects/textformat.o: textformat.c vim.h protodef.h auto/config.h feature.h os_unix.h \
+ auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
+ proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
+ proto.h globals.h
objects/textobject.o: textobject.c vim.h protodef.h auto/config.h feature.h os_unix.h \
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \