Home
last modified time | relevance | path

Searched refs:modec (Results 1 – 6 of 6) sorted by relevance

/vim-8.2.3635/src/
H A Dmap.c868 int modec; in get_map_mode() local
872 modec = *p++; in get_map_mode()
873 if (modec == 'i') in get_map_mode()
875 else if (modec == 'l') in get_map_mode()
877 else if (modec == 'c') in get_map_mode()
879 else if (modec == 'n' && *p != 'o') // avoid :noremap in get_map_mode()
881 else if (modec == 'v') in get_map_mode()
883 else if (modec == 'x') in get_map_mode()
885 else if (modec == 's') in get_map_mode()
887 else if (modec == 'o') in get_map_mode()
[all …]
H A Dhardcopy.c285 int modec) 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()
311 color = (char *)highlight_color(hl_id, (char_u *)"fg", modec); in prt_get_attr()
601 settings.modec = 'g'; in ex_hardcopy()
605 settings.modec = 'c'; in ex_hardcopy()
607 settings.modec = 't'; in ex_hardcopy()
637 prt_get_attr(id, &settings.number, settings.modec); in ex_hardcopy()
[all …]
H A Devalfunc.c9657 int modec; in f_synIDattr() local
9670 modec = TOLOWER_ASC(mode[0]); in f_synIDattr()
9671 if (modec != 't' && modec != 'c' && modec != 'g') in f_synIDattr()
9672 modec = 0; // replace invalid with current in f_synIDattr()
9678 modec = 'g'; in f_synIDattr()
9682 modec = 'c'; in f_synIDattr()
9684 modec = 't'; in f_synIDattr()
9691 p = highlight_color(id, what, modec); in f_synIDattr()
9697 p = highlight_color(id, what, modec); in f_synIDattr()
9717 p = highlight_color(id, what, modec); in f_synIDattr()
[all …]
H A Dhighlight.c3012 int modec) // 'g' for GUI, 'c' for cterm, 't' for term in highlight_has_attr() argument
3020 if (modec == 'g') in highlight_has_attr()
3025 if (modec == 'c') in highlight_has_attr()
3045 int modec) // 'g' for GUI, 'c' for cterm, 't' for term in highlight_color() argument
3068 if (modec == 'g') in highlight_color()
3108 if (modec == 'c') in highlight_color()
H A Dstructs.h4066 int modec; member
/vim-8.2.3635/src/proto/
H A Dhighlight.pro31 char_u *highlight_has_attr(int id, int flag, int modec);
32 char_u *highlight_color(int id, char_u *what, int modec);