Home
last modified time | relevance | path

Searched refs:p_bg (Results 1 – 10 of 10) sorted by relevance

/vim-8.2.3635/src/
H A Doptionstr.c894 else if (varp == &p_bg) in did_set_string_option()
896 if (check_opt_strings(p_bg, p_bg_values, FALSE) == OK) in did_set_string_option()
899 int dark = (*p_bg == 'd'); in did_set_string_option()
905 if (dark != (*p_bg == 'd') in did_set_string_option()
912 free_string_option(p_bg); in did_set_string_option()
913 p_bg = vim_strsave((char_u *)(dark ? "dark" : "light")); in did_set_string_option()
914 check_string_option(&p_bg); in did_set_string_option()
H A Dhighlight.c415 if (*p_bg == 'l') in init_highlight()
428 do_highlight((char_u *)(*p_bg == 'l' in init_highlight()
435 if (*p_bg == 'l') in init_highlight()
952 && dark != (*p_bg == 'd') in highlight_set_ctermbg()
2216 return GUI_GET_COLOR((char_u *)(*p_bg == 'l' ? "black" : "white")); in color_name2handle()
2231 return GUI_GET_COLOR((char_u *)(*p_bg == 'l' ? "white" : "black")); in color_name2handle()
H A Doption.h417 EXTERN char_u *p_bg; // 'background' variable
H A Dgui_w32.c5063 savebg = p_bg; in gui_mch_do_spawn()
5064 p_bg = vim_strsave((char_u *)"light"); // Set 'bg' to "light". in gui_mch_do_spawn()
5066 vim_free(p_bg); in gui_mch_do_spawn()
5067 p_bg = savebg; in gui_mch_do_spawn()
H A Dhardcopy.c325 else if (*p_bg == 'd') in prt_get_attr()
H A Dgui.c4821 if (!option_was_set((char_u *)"bg") && STRCMP(p_bg, gui_bg_default()) != 0) in init_gui_options()
H A Doptiondefs.h404 (char_u *)&p_bg, PV_NONE,
H A Dterm.c5148 && STRCMP(p_bg, new_bg_val) != 0) in handle_osc()
H A Doption.c1766 if ((char_u **)varp == &p_bg) in do_set()
H A Dterminal.c4039 if (*p_bg == 'l') in init_default_colors()