summaryrefslogtreecommitdiff
path: root/src/proto/textformat.pro
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-05-01 14:26:37 +0200
committerBram Moolenaar <Bram@vim.org>2020-05-01 14:26:37 +0200
commit11abd095210fc84e5dcee87b9baed86061caefe4 (patch)
tree5c8dcbdb357df1d9e8d2ae9142fb05f4f768151b /src/proto/textformat.pro
parent4cfde1d273ec5fca68a983805af48ea37d3d94e5 (diff)
downloadvim-git-11abd095210fc84e5dcee87b9baed86061caefe4.tar.gz
patch 8.2.0674: some source files are too bigv8.2.0674
Problem: Some source files are too big. Solution: Move text formatting functions to a new file. (Yegappan Lakshmanan, closes #6021)
Diffstat (limited to 'src/proto/textformat.pro')
-rw-r--r--src/proto/textformat.pro11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/proto/textformat.pro b/src/proto/textformat.pro
new file mode 100644
index 000000000..7ed9428c9
--- /dev/null
+++ b/src/proto/textformat.pro
@@ -0,0 +1,11 @@
+/* textformat.c */
+int has_format_option(int x);
+void internal_format(int textwidth, int second_indent, int flags, int format_only, int c);
+void auto_format(int trailblank, int prev_line);
+void check_auto_format(int);
+int comp_textwidth(int ff);
+void op_format(oparg_T *oap, int keep_cursor);
+void op_formatexpr(oparg_T *oap);
+int fex_format(linenr_T lnum, long count, int c);
+void format_lines(linenr_T line_count, int avoid_fex);
+/* vim: set ft=c : */