Mercurial > vim
annotate src/proto/syntax.pro @ 23416:108039938e3c v8.2.2251
patch 8.2.2251: test failures in legacy script
Commit: https://github.com/vim/vim/commit/a04d447d3aaddb5b978dd9a0e0186007fde8e09e
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Dec 30 21:16:37 2020 +0100
patch 8.2.2251: test failures in legacy script
Problem: Test failures in legacy script.
Solution: Check for Vim9 script.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 30 Dec 2020 21:30:04 +0100 |
parents | 635d7f5010b8 |
children | f103da6ba95f |
rev | line source |
---|---|
7 | 1 /* syntax.c */ |
12510
7a887dccd13a
patch 8.0.1133: syntax timeout not used correctly
Christian Brabandt <cb@256bit.org>
parents:
12487
diff
changeset
|
2 void syn_set_timeout(proftime_T *tm); |
7a887dccd13a
patch 8.0.1133: syntax timeout not used correctly
Christian Brabandt <cb@256bit.org>
parents:
12487
diff
changeset
|
3 void syntax_start(win_T *wp, linenr_T lnum); |
7668
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
4803
diff
changeset
|
4 void syn_stack_free_all(synblock_T *block); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
4803
diff
changeset
|
5 void syn_stack_apply_changes(buf_T *buf); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
4803
diff
changeset
|
6 void syntax_end_parsing(linenr_T lnum); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
4803
diff
changeset
|
7 int syntax_check_changed(linenr_T lnum); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
4803
diff
changeset
|
8 int get_syntax_attr(colnr_T col, int *can_spell, int keep_state); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
4803
diff
changeset
|
9 void syntax_clear(synblock_T *block); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
4803
diff
changeset
|
10 void reset_synblock(win_T *wp); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
4803
diff
changeset
|
11 void ex_syntax(exarg_T *eap); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
4803
diff
changeset
|
12 void ex_ownsyntax(exarg_T *eap); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
4803
diff
changeset
|
13 int syntax_present(win_T *win); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
4803
diff
changeset
|
14 void reset_expand_highlight(void); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
4803
diff
changeset
|
15 void set_context_in_echohl_cmd(expand_T *xp, char_u *arg); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
4803
diff
changeset
|
16 void set_context_in_syntax_cmd(expand_T *xp, char_u *arg); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
4803
diff
changeset
|
17 char_u *get_syntax_name(expand_T *xp, int idx); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
4803
diff
changeset
|
18 int syn_get_id(win_T *wp, long lnum, colnr_T col, int trans, int *spellp, int keep_state); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
4803
diff
changeset
|
19 int get_syntax_info(int *seqnrp); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
4803
diff
changeset
|
20 int syn_get_sub_char(void); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
4803
diff
changeset
|
21 int syn_get_stack_item(int i); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
4803
diff
changeset
|
22 int syn_get_foldlevel(win_T *wp, long lnum); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
4803
diff
changeset
|
23 void ex_syntime(exarg_T *eap); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
4803
diff
changeset
|
24 char_u *get_syntime_arg(expand_T *xp, int idx); |
7 | 25 /* vim: set ft=c : */ |