Bram Moolenaar | 4b47162 | 2019-01-31 13:48:09 +0100 | [diff] [blame] | 1 | /* indent.c */ |
Bram Moolenaar | 010ee96 | 2019-09-25 20:37:36 +0200 | [diff] [blame] | 2 | int tabstop_set(char_u *var, int **array); |
| 3 | int tabstop_padding(colnr_T col, int ts_arg, int *vts); |
Gary Johnson | 88d4f25 | 2024-06-01 20:51:33 +0200 | [diff] [blame] | 4 | int tabstop_at(colnr_T col, int ts, int *vts, int left); |
Bram Moolenaar | 010ee96 | 2019-09-25 20:37:36 +0200 | [diff] [blame] | 5 | colnr_T tabstop_start(colnr_T col, int ts, int *vts); |
| 6 | void tabstop_fromto(colnr_T start_col, colnr_T end_col, int ts_arg, int *vts, int *ntabs, int *nspcs); |
Bram Moolenaar | 010ee96 | 2019-09-25 20:37:36 +0200 | [diff] [blame] | 7 | int *tabstop_copy(int *oldts); |
| 8 | int tabstop_count(int *ts); |
| 9 | int tabstop_first(int *ts); |
| 10 | long get_sw_value(buf_T *buf); |
Gary Johnson | 88d4f25 | 2024-06-01 20:51:33 +0200 | [diff] [blame] | 11 | long get_sw_value_indent(buf_T *buf, int left); |
| 12 | long get_sw_value_col(buf_T *buf, colnr_T col, int left); |
Bram Moolenaar | 010ee96 | 2019-09-25 20:37:36 +0200 | [diff] [blame] | 13 | long get_sts_value(void); |
Bram Moolenaar | 14c01f8 | 2019-10-09 22:53:08 +0200 | [diff] [blame] | 14 | int get_indent(void); |
| 15 | int get_indent_lnum(linenr_T lnum); |
| 16 | int get_indent_buf(buf_T *buf, linenr_T lnum); |
zeertzjq | efabd7c | 2024-02-11 17:16:19 +0100 | [diff] [blame] | 17 | int get_indent_str(char_u *ptr, int ts, int no_ts); |
| 18 | int get_indent_str_vtab(char_u *ptr, int ts, int *vts, int no_ts); |
Bram Moolenaar | 14c01f8 | 2019-10-09 22:53:08 +0200 | [diff] [blame] | 19 | int set_indent(int size, int flags); |
| 20 | int get_number_indent(linenr_T lnum); |
Milly | b38700a | 2024-10-22 22:59:39 +0200 | [diff] [blame] | 21 | int briopt_check(char_u *briopt, win_T *wp); |
Bram Moolenaar | 14c01f8 | 2019-10-09 22:53:08 +0200 | [diff] [blame] | 22 | int get_breakindent_win(win_T *wp, char_u *line); |
| 23 | int inindent(int extra); |
| 24 | void op_reindent(oparg_T *oap, int (*how)(void)); |
| 25 | int preprocs_left(void); |
Bram Moolenaar | de5cf28 | 2022-05-14 11:52:23 +0100 | [diff] [blame] | 26 | int may_do_si(void); |
Bram Moolenaar | 14c01f8 | 2019-10-09 22:53:08 +0200 | [diff] [blame] | 27 | void ins_try_si(int c); |
| 28 | void change_indent(int type, int amount, int round, int replaced, int call_changed_bytes); |
| 29 | int copy_indent(int size, char_u *src); |
| 30 | void ex_retab(exarg_T *eap); |
| 31 | int get_expr_indent(void); |
| 32 | int get_lisp_indent(void); |
| 33 | void fixthisline(int (*get_the_indent)(void)); |
Bram Moolenaar | 49846fb | 2022-10-15 16:05:33 +0100 | [diff] [blame] | 34 | int use_indentexpr_for_lisp(void); |
Bram Moolenaar | 14c01f8 | 2019-10-09 22:53:08 +0200 | [diff] [blame] | 35 | void fix_indent(void); |
| 36 | void f_indent(typval_T *argvars, typval_T *rettv); |
| 37 | void f_lispindent(typval_T *argvars, typval_T *rettv); |
Bram Moolenaar | 4b47162 | 2019-01-31 13:48:09 +0100 | [diff] [blame] | 38 | /* vim: set ft=c : */ |