Mercurial > vim
annotate src/proto/indent.pro @ 28790:a161c262e947 v8.2.4919
patch 8.2.4919: can add invalid bytes with :spellgood
Commit: https://github.com/vim/vim/commit/7c824682d2028432ee082703ef0ab399867a089b
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun May 8 22:32:58 2022 +0100
patch 8.2.4919: can add invalid bytes with :spellgood
Problem: Can add invalid bytes with :spellgood.
Solution: Check for a valid word string.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 08 May 2022 23:45:02 +0200 |
parents | fd95d4dbeb37 |
children | 948877671c54 |
rev | line source |
---|---|
15699
2d941023bd2f
patch 8.1.0857: indent functionality is not separated
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
1 /* indent.c */ |
18156
c81370b3ede4
patch 8.1.2073: when editing a buffer 'colorcolumn' may not work
Bram Moolenaar <Bram@vim.org>
parents:
17789
diff
changeset
|
2 int tabstop_set(char_u *var, int **array); |
c81370b3ede4
patch 8.1.2073: when editing a buffer 'colorcolumn' may not work
Bram Moolenaar <Bram@vim.org>
parents:
17789
diff
changeset
|
3 int tabstop_padding(colnr_T col, int ts_arg, int *vts); |
c81370b3ede4
patch 8.1.2073: when editing a buffer 'colorcolumn' may not work
Bram Moolenaar <Bram@vim.org>
parents:
17789
diff
changeset
|
4 int tabstop_at(colnr_T col, int ts, int *vts); |
c81370b3ede4
patch 8.1.2073: when editing a buffer 'colorcolumn' may not work
Bram Moolenaar <Bram@vim.org>
parents:
17789
diff
changeset
|
5 colnr_T tabstop_start(colnr_T col, int ts, int *vts); |
c81370b3ede4
patch 8.1.2073: when editing a buffer 'colorcolumn' may not work
Bram Moolenaar <Bram@vim.org>
parents:
17789
diff
changeset
|
6 void tabstop_fromto(colnr_T start_col, colnr_T end_col, int ts_arg, int *vts, int *ntabs, int *nspcs); |
c81370b3ede4
patch 8.1.2073: when editing a buffer 'colorcolumn' may not work
Bram Moolenaar <Bram@vim.org>
parents:
17789
diff
changeset
|
7 int *tabstop_copy(int *oldts); |
c81370b3ede4
patch 8.1.2073: when editing a buffer 'colorcolumn' may not work
Bram Moolenaar <Bram@vim.org>
parents:
17789
diff
changeset
|
8 int tabstop_count(int *ts); |
c81370b3ede4
patch 8.1.2073: when editing a buffer 'colorcolumn' may not work
Bram Moolenaar <Bram@vim.org>
parents:
17789
diff
changeset
|
9 int tabstop_first(int *ts); |
c81370b3ede4
patch 8.1.2073: when editing a buffer 'colorcolumn' may not work
Bram Moolenaar <Bram@vim.org>
parents:
17789
diff
changeset
|
10 long get_sw_value(buf_T *buf); |
c81370b3ede4
patch 8.1.2073: when editing a buffer 'colorcolumn' may not work
Bram Moolenaar <Bram@vim.org>
parents:
17789
diff
changeset
|
11 long get_sw_value_indent(buf_T *buf); |
c81370b3ede4
patch 8.1.2073: when editing a buffer 'colorcolumn' may not work
Bram Moolenaar <Bram@vim.org>
parents:
17789
diff
changeset
|
12 long get_sw_value_col(buf_T *buf, colnr_T col); |
c81370b3ede4
patch 8.1.2073: when editing a buffer 'colorcolumn' may not work
Bram Moolenaar <Bram@vim.org>
parents:
17789
diff
changeset
|
13 long get_sts_value(void); |
18265
fe5afdc03bd2
patch 8.1.2127: the indent.c file is a bit big
Bram Moolenaar <Bram@vim.org>
parents:
18156
diff
changeset
|
14 int get_indent(void); |
fe5afdc03bd2
patch 8.1.2127: the indent.c file is a bit big
Bram Moolenaar <Bram@vim.org>
parents:
18156
diff
changeset
|
15 int get_indent_lnum(linenr_T lnum); |
fe5afdc03bd2
patch 8.1.2127: the indent.c file is a bit big
Bram Moolenaar <Bram@vim.org>
parents:
18156
diff
changeset
|
16 int get_indent_buf(buf_T *buf, linenr_T lnum); |
fe5afdc03bd2
patch 8.1.2127: the indent.c file is a bit big
Bram Moolenaar <Bram@vim.org>
parents:
18156
diff
changeset
|
17 int get_indent_str(char_u *ptr, int ts, int list); |
fe5afdc03bd2
patch 8.1.2127: the indent.c file is a bit big
Bram Moolenaar <Bram@vim.org>
parents:
18156
diff
changeset
|
18 int get_indent_str_vtab(char_u *ptr, int ts, int *vts, int list); |
fe5afdc03bd2
patch 8.1.2127: the indent.c file is a bit big
Bram Moolenaar <Bram@vim.org>
parents:
18156
diff
changeset
|
19 int set_indent(int size, int flags); |
fe5afdc03bd2
patch 8.1.2127: the indent.c file is a bit big
Bram Moolenaar <Bram@vim.org>
parents:
18156
diff
changeset
|
20 int get_number_indent(linenr_T lnum); |
18679
fd95d4dbeb37
patch 8.1.2331: the option.c file is still very big
Bram Moolenaar <Bram@vim.org>
parents:
18265
diff
changeset
|
21 int briopt_check(win_T *wp); |
18265
fe5afdc03bd2
patch 8.1.2127: the indent.c file is a bit big
Bram Moolenaar <Bram@vim.org>
parents:
18156
diff
changeset
|
22 int get_breakindent_win(win_T *wp, char_u *line); |
fe5afdc03bd2
patch 8.1.2127: the indent.c file is a bit big
Bram Moolenaar <Bram@vim.org>
parents:
18156
diff
changeset
|
23 int inindent(int extra); |
fe5afdc03bd2
patch 8.1.2127: the indent.c file is a bit big
Bram Moolenaar <Bram@vim.org>
parents:
18156
diff
changeset
|
24 void op_reindent(oparg_T *oap, int (*how)(void)); |
fe5afdc03bd2
patch 8.1.2127: the indent.c file is a bit big
Bram Moolenaar <Bram@vim.org>
parents:
18156
diff
changeset
|
25 int preprocs_left(void); |
fe5afdc03bd2
patch 8.1.2127: the indent.c file is a bit big
Bram Moolenaar <Bram@vim.org>
parents:
18156
diff
changeset
|
26 void ins_try_si(int c); |
fe5afdc03bd2
patch 8.1.2127: the indent.c file is a bit big
Bram Moolenaar <Bram@vim.org>
parents:
18156
diff
changeset
|
27 void change_indent(int type, int amount, int round, int replaced, int call_changed_bytes); |
fe5afdc03bd2
patch 8.1.2127: the indent.c file is a bit big
Bram Moolenaar <Bram@vim.org>
parents:
18156
diff
changeset
|
28 int copy_indent(int size, char_u *src); |
fe5afdc03bd2
patch 8.1.2127: the indent.c file is a bit big
Bram Moolenaar <Bram@vim.org>
parents:
18156
diff
changeset
|
29 void ex_retab(exarg_T *eap); |
fe5afdc03bd2
patch 8.1.2127: the indent.c file is a bit big
Bram Moolenaar <Bram@vim.org>
parents:
18156
diff
changeset
|
30 int get_expr_indent(void); |
fe5afdc03bd2
patch 8.1.2127: the indent.c file is a bit big
Bram Moolenaar <Bram@vim.org>
parents:
18156
diff
changeset
|
31 int get_lisp_indent(void); |
fe5afdc03bd2
patch 8.1.2127: the indent.c file is a bit big
Bram Moolenaar <Bram@vim.org>
parents:
18156
diff
changeset
|
32 void fixthisline(int (*get_the_indent)(void)); |
fe5afdc03bd2
patch 8.1.2127: the indent.c file is a bit big
Bram Moolenaar <Bram@vim.org>
parents:
18156
diff
changeset
|
33 void fix_indent(void); |
fe5afdc03bd2
patch 8.1.2127: the indent.c file is a bit big
Bram Moolenaar <Bram@vim.org>
parents:
18156
diff
changeset
|
34 void f_indent(typval_T *argvars, typval_T *rettv); |
fe5afdc03bd2
patch 8.1.2127: the indent.c file is a bit big
Bram Moolenaar <Bram@vim.org>
parents:
18156
diff
changeset
|
35 void f_lispindent(typval_T *argvars, typval_T *rettv); |
15699
2d941023bd2f
patch 8.1.0857: indent functionality is not separated
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
36 /* vim: set ft=c : */ |