1 | #ifndef DEFINE_FUNC_ATTRIBUTES |
2 | # define DEFINE_FUNC_ATTRIBUTES |
3 | #endif |
4 | #include "nvim/func_attr.h" |
5 | #undef DEFINE_FUNC_ATTRIBUTES |
6 | void syn_set_timeout(proftime_T *tm); |
7 | void syntax_start(win_T *wp, linenr_T lnum); |
8 | void syn_stack_free_all(synblock_T *block); |
9 | void syn_stack_apply_changes(buf_T *buf); |
10 | void syntax_end_parsing(linenr_T lnum); |
11 | int syntax_check_changed(linenr_T lnum); |
12 | int get_syntax_attr(const colnr_T col, _Bool *const can_spell, const _Bool keep_state ); |
13 | void syntax_clear(synblock_T *block); |
14 | void reset_synblock(win_T *wp); |
15 | void syn_maybe_on(void); |
16 | void ex_syntax(exarg_T *eap); |
17 | void ex_ownsyntax(exarg_T *eap); |
18 | _Bool syntax_present(win_T *win); |
19 | void reset_expand_highlight(void); |
20 | void set_context_in_echohl_cmd(expand_T *xp, const char *arg); |
21 | void set_context_in_syntax_cmd(expand_T *xp, const char *arg); |
22 | char_u *get_syntax_name(expand_T *xp, int idx); |
23 | int syn_get_id(win_T *wp, long lnum, colnr_T col, int trans, _Bool *spellp, int keep_state ); |
24 | int get_syntax_info(int *seqnrp); |
25 | int syn_get_concealed_id(win_T *wp, linenr_T lnum, colnr_T col); |
26 | int syn_get_sub_char(void); |
27 | int syn_get_stack_item(int i); |
28 | int syn_get_foldlevel(win_T *wp, long lnum); |
29 | void ex_syntime(exarg_T *eap); |
30 | char_u *get_syntime_arg(expand_T *xp, int idx); |
31 | void syn_init_cmdline_highlight(_Bool reset, _Bool init); |
32 | void init_highlight(_Bool both, _Bool reset); |
33 | int load_colors(char_u *name); |
34 | int lookup_color(const int idx, const _Bool foreground, TriState *const boldp); |
35 | void do_highlight(const char *line, const _Bool forceit, const _Bool init) FUNC_ATTR_NONNULL_ALL; |
36 | void restore_cterm_colors(void); |
37 | const char *highlight_has_attr(const int id, const int flag, const int modec) FUNC_ATTR_WARN_UNUSED_RESULT FUNC_ATTR_PURE; |
38 | const char *highlight_color(const int id, const char *const what, const int modec) FUNC_ATTR_WARN_UNUSED_RESULT FUNC_ATTR_NONNULL_ALL; |
39 | int syn_name2id(const char_u *name); |
40 | int syn_name2attr(char_u *name); |
41 | int highlight_exists(const char_u *name); |
42 | char_u *syn_id2name(int id); |
43 | int syn_namen2id(const char_u *linep, int len); |
44 | int syn_check_group(const char_u *pp, int len); |
45 | int syn_id2attr(int hl_id); |
46 | int syn_get_final_id(int hl_id); |
47 | void highlight_attr_set_all(void); |
48 | void highlight_changed(void); |
49 | void set_context_in_highlight_cmd(expand_T *xp, const char *arg); |
50 | const char *get_highlight_name(expand_T *const xp, int idx) FUNC_ATTR_WARN_UNUSED_RESULT; |
51 | const char *get_highlight_name_ext(expand_T *xp, int idx, int skip_cleared) FUNC_ATTR_WARN_UNUSED_RESULT; |
52 | RgbValue name_to_color(const char_u *name); |
53 | #include "nvim/func_attr.h" |
54 | |