blob: b9c071c958b8f475e538b05b4fcf3c99bb092962 [file] [log] [blame]
Bram Moolenaar4b471622019-01-31 13:48:09 +01001/* indent.c */
2int cin_is_cinword(char_u *line);
3pos_T *find_start_comment(int ind_maxcomment);
4int cindent_on(void);
Bram Moolenaar4b471622019-01-31 13:48:09 +01005void parse_cino(buf_T *buf);
6int get_c_indent(void);
7int get_expr_indent(void);
8int in_cinkeys(int keytyped, int when, int line_is_empty);
9int get_lisp_indent(void);
10void do_c_expr_indent(void);
11void fixthisline(int (*get_the_indent)(void));
12void fix_indent(void);
Bram Moolenaar010ee962019-09-25 20:37:36 +020013int tabstop_set(char_u *var, int **array);
14int tabstop_padding(colnr_T col, int ts_arg, int *vts);
15int tabstop_at(colnr_T col, int ts, int *vts);
16colnr_T tabstop_start(colnr_T col, int ts, int *vts);
17void tabstop_fromto(colnr_T start_col, colnr_T end_col, int ts_arg, int *vts, int *ntabs, int *nspcs);
18int tabstop_eq(int *ts1, int *ts2);
19int *tabstop_copy(int *oldts);
20int tabstop_count(int *ts);
21int tabstop_first(int *ts);
22long get_sw_value(buf_T *buf);
23long get_sw_value_indent(buf_T *buf);
24long get_sw_value_col(buf_T *buf, colnr_T col);
25long get_sts_value(void);
Bram Moolenaar4b471622019-01-31 13:48:09 +010026/* vim: set ft=c : */