blob: f187ec5fc1030cd9138c8df7f115348964cf513b [file] [log] [blame]
Bram Moolenaar4b471622019-01-31 13:48:09 +01001/* indent.c */
Bram Moolenaar010ee962019-09-25 20:37:36 +02002int tabstop_set(char_u *var, int **array);
3int tabstop_padding(colnr_T col, int ts_arg, int *vts);
Gary Johnson88d4f252024-06-01 20:51:33 +02004int tabstop_at(colnr_T col, int ts, int *vts, int left);
Bram Moolenaar010ee962019-09-25 20:37:36 +02005colnr_T tabstop_start(colnr_T col, int ts, int *vts);
6void tabstop_fromto(colnr_T start_col, colnr_T end_col, int ts_arg, int *vts, int *ntabs, int *nspcs);
Bram Moolenaar010ee962019-09-25 20:37:36 +02007int *tabstop_copy(int *oldts);
8int tabstop_count(int *ts);
9int tabstop_first(int *ts);
10long get_sw_value(buf_T *buf);
Gary Johnson88d4f252024-06-01 20:51:33 +020011long get_sw_value_indent(buf_T *buf, int left);
12long get_sw_value_col(buf_T *buf, colnr_T col, int left);
Bram Moolenaar010ee962019-09-25 20:37:36 +020013long get_sts_value(void);
Bram Moolenaar14c01f82019-10-09 22:53:08 +020014int get_indent(void);
15int get_indent_lnum(linenr_T lnum);
16int get_indent_buf(buf_T *buf, linenr_T lnum);
zeertzjqefabd7c2024-02-11 17:16:19 +010017int get_indent_str(char_u *ptr, int ts, int no_ts);
18int get_indent_str_vtab(char_u *ptr, int ts, int *vts, int no_ts);
Bram Moolenaar14c01f82019-10-09 22:53:08 +020019int set_indent(int size, int flags);
20int get_number_indent(linenr_T lnum);
Millyb38700a2024-10-22 22:59:39 +020021int briopt_check(char_u *briopt, win_T *wp);
Bram Moolenaar14c01f82019-10-09 22:53:08 +020022int get_breakindent_win(win_T *wp, char_u *line);
23int inindent(int extra);
24void op_reindent(oparg_T *oap, int (*how)(void));
25int preprocs_left(void);
Bram Moolenaarde5cf282022-05-14 11:52:23 +010026int may_do_si(void);
Bram Moolenaar14c01f82019-10-09 22:53:08 +020027void ins_try_si(int c);
28void change_indent(int type, int amount, int round, int replaced, int call_changed_bytes);
29int copy_indent(int size, char_u *src);
30void ex_retab(exarg_T *eap);
31int get_expr_indent(void);
32int get_lisp_indent(void);
33void fixthisline(int (*get_the_indent)(void));
Bram Moolenaar49846fb2022-10-15 16:05:33 +010034int use_indentexpr_for_lisp(void);
Bram Moolenaar14c01f82019-10-09 22:53:08 +020035void fix_indent(void);
36void f_indent(typval_T *argvars, typval_T *rettv);
37void f_lispindent(typval_T *argvars, typval_T *rettv);
Bram Moolenaar4b471622019-01-31 13:48:09 +010038/* vim: set ft=c : */