Mercurial > vim
annotate src/proto/indent.pro @ 30590:d900f0561eee v9.0.0630
patch 9.0.0630: in Vim9 script a numbered function cannot be called
Commit: https://github.com/vim/vim/commit/cfb4d4f312e740c2fbb70c29c47cf74a76f8b605
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Sep 30 19:19:04 2022 +0100
patch 9.0.0630: in Vim9 script a numbered function cannot be called
Problem: In Vim9 script a numbered function cannot be called.
Solution: Do not require "g:" before a numbered function name.
(closes #11254)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 30 Sep 2022 20:30:04 +0200 |
parents | 948877671c54 |
children | 40df8a6515f6 |
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); |
28856
948877671c54
patch 8.2.4951: smart indenting done when not enabled
Bram Moolenaar <Bram@vim.org>
parents:
18679
diff
changeset
|
26 int may_do_si(void); |
18265
fe5afdc03bd2
patch 8.1.2127: the indent.c file is a bit big
Bram Moolenaar <Bram@vim.org>
parents:
18156
diff
changeset
|
27 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
|
28 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
|
29 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
|
30 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
|
31 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
|
32 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
|
33 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
|
34 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
|
35 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
|
36 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
|
37 /* vim: set ft=c : */ |