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