Mercurial > vim
annotate src/proto/syntax.pro @ 24559:839145e0fdaa v8.2.2819
patch 8.2.2819: finishing an abbreviation with multi-byte char may not work
Commit: https://github.com/vim/vim/commit/4934ed34c3e2090d1963c89c629cd3ce81d3ecd1
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Apr 30 19:43:11 2021 +0200
patch 8.2.2819: finishing an abbreviation with multi-byte char may not work
Problem: Finishing an abbreviation with a multi-byte char may not work.
Solution: Escape K_SPECIAL in the typed character. (closes https://github.com/vim/vim/issues/8160)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 30 Apr 2021 19:45:04 +0200 |
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 : */ |