Mercurial > vim
diff src/proto/misc1.pro @ 18265:fe5afdc03bd2 v8.1.2127
patch 8.1.2127: the indent.c file is a bit big
Commit: https://github.com/vim/vim/commit/14c01f83487d5c53192297a710eda2b8a4ab17c9
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Oct 9 22:53:08 2019 +0200
patch 8.1.2127: the indent.c file is a bit big
Problem: The indent.c file is a bit big.
Solution: Move C-indent code a a new cindent.c file. Move other
indent-related code to indent.c. (Yegappan Lakshmanan,
closes #5031)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 09 Oct 2019 23:00:04 +0200 |
parents | 1868ec23360e |
children | 18d7337b6837 |
line wrap: on
line diff
--- a/src/proto/misc1.pro +++ b/src/proto/misc1.pro @@ -1,12 +1,4 @@ /* misc1.c */ -int get_indent(void); -int get_indent_lnum(linenr_T lnum); -int get_indent_buf(buf_T *buf, linenr_T lnum); -int get_indent_str(char_u *ptr, int ts, int list); -int get_indent_str_vtab(char_u *ptr, int ts, int *vts, int list); -int set_indent(int size, int flags); -int get_number_indent(linenr_T lnum); -int get_breakindent_win(win_T *wp, char_u *line); int get_leader_len(char_u *line, char_u **flags, int backward, int include_space); int get_last_leader_offset(char_u *line, char_u **flags); int plines(linenr_T lnum); @@ -19,7 +11,6 @@ int plines_m_win(win_T *wp, linenr_T fir int gchar_pos(pos_T *pos); int gchar_cursor(void); void pchar_cursor(int c); -int inindent(int extra); char_u *skip_to_option_part(char_u *p); void check_status(buf_T *buf); int ask_yesno(char_u *str, int direct);