Home
last modified time | relevance | path

Searched refs:hl_id (Results 1 – 4 of 4) sorted by relevance

/vim-8.2.3635/src/proto/
H A Dhighlight.pro41 int syn_id2attr(int hl_id);
42 int syn_id2colors(int hl_id, guicolor_T *fgp, guicolor_T *bgp);
43 void syn_id2cterm_bg(int hl_id, int *fgp, int *bgp);
44 int syn_get_final_id(int hl_id);
/vim-8.2.3635/src/
H A Dhighlight.c3511 syn_id2attr(int hl_id) in syn_id2attr() argument
3516 hl_id = syn_get_final_id(hl_id); in syn_id2attr()
3539 syn_id2colors(int hl_id, guicolor_T *fgp, guicolor_T *bgp) in syn_id2colors() argument
3543 hl_id = syn_get_final_id(hl_id); in syn_id2colors()
3557 syn_id2cterm_bg(int hl_id, int *fgp, int *bgp) in syn_id2cterm_bg() argument
3561 hl_id = syn_get_final_id(hl_id); in syn_id2cterm_bg()
3572 syn_get_final_id(int hl_id) in syn_get_final_id() argument
3577 if (hl_id > highlight_ga.ga_len || hl_id < 1) in syn_get_final_id()
3584 sgp = &HL_TABLE()[hl_id - 1]; // index is ID minus one in syn_get_final_id()
3587 hl_id = sgp->sg_link; in syn_get_final_id()
[all …]
H A Dhardcopy.c283 int hl_id, in prt_get_attr() argument
292 pattr->bold = (highlight_has_attr(hl_id, HL_BOLD, modec) != NULL); in prt_get_attr()
293 pattr->italic = (highlight_has_attr(hl_id, HL_ITALIC, modec) != NULL); in prt_get_attr()
294 pattr->underline = (highlight_has_attr(hl_id, HL_UNDERLINE, modec) != NULL); in prt_get_attr()
295 pattr->undercurl = (highlight_has_attr(hl_id, HL_UNDERCURL, modec) != NULL); in prt_get_attr()
300 bg_color = highlight_gui_color_rgb(hl_id, FALSE); in prt_get_attr()
304 fg_color = highlight_gui_color_rgb(hl_id, TRUE); in prt_get_attr()
311 color = (char *)highlight_color(hl_id, (char_u *)"fg", modec); in prt_get_attr()
H A Dtextprop.c1166 int hl_id = 0; in prop_type_set() local
1170 hl_id = syn_name2id(highlight); in prop_type_set()
1171 if (hl_id <= 0) in prop_type_set()
1177 prop->pt_hl_id = hl_id; in prop_type_set()