diff options
Diffstat (limited to 'src/proto')
-rw-r--r-- | src/proto/edit.pro | 2 | ||||
-rw-r--r-- | src/proto/getchar.pro | 1 | ||||
-rw-r--r-- | src/proto/ops.pro | 4 | ||||
-rw-r--r-- | src/proto/option.pro | 1 | ||||
-rw-r--r-- | src/proto/textformat.pro | 11 |
5 files changed, 12 insertions, 7 deletions
diff --git a/src/proto/edit.pro b/src/proto/edit.pro index 49b9f4cff0..6efe537151 100644 --- a/src/proto/edit.pro +++ b/src/proto/edit.pro @@ -13,8 +13,6 @@ void truncate_spaces(char_u *line); void backspace_until_column(int col); int get_literal(void); void insertchar(int c, int flags, int second_indent); -void auto_format(int trailblank, int prev_line); -int comp_textwidth(int ff); void start_arrow(pos_T *end_insert_pos); int stop_arrow(void); void set_last_insert(int c); diff --git a/src/proto/getchar.pro b/src/proto/getchar.pro index 0382122294..9ff6620290 100644 --- a/src/proto/getchar.pro +++ b/src/proto/getchar.pro @@ -19,6 +19,7 @@ void stuffReadbuffLen(char_u *s, long len); void stuffReadbuffSpec(char_u *s); void stuffcharReadbuff(int c); void stuffnumReadbuff(long n); +void stuffescaped(char_u *arg, int literally); int start_redo(long count, int old_redo); int start_redo_ins(void); void stop_redo_ins(void); diff --git a/src/proto/ops.pro b/src/proto/ops.pro index bbb6a5dd9a..cbe49cc548 100644 --- a/src/proto/ops.pro +++ b/src/proto/ops.pro @@ -5,7 +5,6 @@ int get_op_char(int optype); int get_extra_op_char(int optype); void op_shift(oparg_T *oap, int curs_top, int amount); void shift_line(int left, int round, int amount, int call_changed_bytes); -void stuffescaped(char_u *arg, int literally); int op_delete(oparg_T *oap); int op_replace(oparg_T *oap, int c); int swapchar(int op_type, pos_T *pos); @@ -14,9 +13,6 @@ int op_change(oparg_T *oap); void adjust_cursor_eol(void); char_u *skip_comment(char_u *line, int process, int include_space, int *is_comment); int do_join(long count, int insert_space, int save_undo, int use_formatoptions, int setmark); -int fex_format(linenr_T lnum, long count, int c); -void format_lines(linenr_T line_count, int avoid_fex); -int paragraph_start(linenr_T lnum); void block_prep(oparg_T *oap, struct block_def *bdp, linenr_T lnum, int is_del); void op_addsub(oparg_T *oap, linenr_T Prenum1, int g_cmd); void clear_oparg(oparg_T *oap); diff --git a/src/proto/option.pro b/src/proto/option.pro index 7da2cbf982..210c60a229 100644 --- a/src/proto/option.pro +++ b/src/proto/option.pro @@ -62,7 +62,6 @@ void set_imsearch_global(void); void set_context_in_set_cmd(expand_T *xp, char_u *arg, int opt_flags); int ExpandSettings(expand_T *xp, regmatch_T *regmatch, int *num_file, char_u ***file); int ExpandOldSetting(int *num_file, char_u ***file); -int has_format_option(int x); int shortmess(int x); void vimrc_found(char_u *fname, char_u *envname); void change_compatible(int on); diff --git a/src/proto/textformat.pro b/src/proto/textformat.pro new file mode 100644 index 0000000000..7ed9428c9a --- /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 : */ |