Mercurial > vim
comparison src/proto/syntax.pro @ 17389:635d7f5010b8 v8.1.1693
patch 8.1.1693: syntax coloring and highlighting is in one big file
commit https://github.com/vim/vim/commit/f9cc9f209ede9f15959e4c2351e970477c139614
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jul 14 21:29:22 2019 +0200
patch 8.1.1693: syntax coloring and highlighting is in one big file
Problem: Syntax coloring and highlighting is in one big file.
Solution: Move the highlighting to a separate file. (Yegappan Lakshmanan,
closes #4674)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 14 Jul 2019 21:30:04 +0200 |
parents | 7a887dccd13a |
children | f103da6ba95f |
comparison
equal
deleted
inserted
replaced
17388:13104cd7dc9f | 17389:635d7f5010b8 |
---|---|
20 int syn_get_sub_char(void); | 20 int syn_get_sub_char(void); |
21 int syn_get_stack_item(int i); | 21 int syn_get_stack_item(int i); |
22 int syn_get_foldlevel(win_T *wp, long lnum); | 22 int syn_get_foldlevel(win_T *wp, long lnum); |
23 void ex_syntime(exarg_T *eap); | 23 void ex_syntime(exarg_T *eap); |
24 char_u *get_syntime_arg(expand_T *xp, int idx); | 24 char_u *get_syntime_arg(expand_T *xp, int idx); |
25 void init_highlight(int both, int reset); | |
26 int load_colors(char_u *name); | |
27 int lookup_color(int idx, int foreground, int *boldp); | |
28 void do_highlight(char_u *line, int forceit, int init); | |
29 void free_highlight(void); | |
30 void restore_cterm_colors(void); | |
31 void set_normal_colors(void); | |
32 char_u *hl_get_font_name(void); | |
33 void hl_set_font_name(char_u *font_name); | |
34 void hl_set_bg_color_name(char_u *name); | |
35 void hl_set_fg_color_name(char_u *name); | |
36 guicolor_T color_name2handle(char_u *name); | |
37 int get_cterm_attr_idx(int attr, int fg, int bg); | |
38 int get_tgc_attr_idx(int attr, guicolor_T fg, guicolor_T bg); | |
39 int get_gui_attr_idx(int attr, guicolor_T fg, guicolor_T bg); | |
40 void clear_hl_tables(void); | |
41 int hl_combine_attr(int char_attr, int prim_attr); | |
42 attrentry_T *syn_gui_attr2entry(int attr); | |
43 int syn_attr2attr(int attr); | |
44 attrentry_T *syn_term_attr2entry(int attr); | |
45 attrentry_T *syn_cterm_attr2entry(int attr); | |
46 char_u *highlight_has_attr(int id, int flag, int modec); | |
47 char_u *highlight_color(int id, char_u *what, int modec); | |
48 long_u highlight_gui_color_rgb(int id, int fg); | |
49 int syn_name2id(char_u *name); | |
50 int syn_name2attr(char_u *name); | |
51 int highlight_exists(char_u *name); | |
52 char_u *syn_id2name(int id); | |
53 int syn_namen2id(char_u *linep, int len); | |
54 int syn_check_group(char_u *pp, int len); | |
55 int syn_id2attr(int hl_id); | |
56 int syn_id2colors(int hl_id, guicolor_T *fgp, guicolor_T *bgp); | |
57 void syn_id2cterm_bg(int hl_id, int *fgp, int *bgp); | |
58 int syn_get_final_id(int hl_id); | |
59 void highlight_gui_started(void); | |
60 int highlight_changed(void); | |
61 void set_context_in_highlight_cmd(expand_T *xp, char_u *arg); | |
62 char_u *get_highlight_name(expand_T *xp, int idx); | |
63 char_u *get_highlight_name_ext(expand_T *xp, int idx, int skip_cleared); | |
64 void free_highlight_fonts(void); | |
65 /* vim: set ft=c : */ | 25 /* vim: set ft=c : */ |