Searched refs:p_bg (Results 1 – 10 of 10) sorted by relevance
894 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()
415 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()
417 EXTERN char_u *p_bg; // 'background' variable
5063 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()
325 else if (*p_bg == 'd') in prt_get_attr()
4821 if (!option_was_set((char_u *)"bg") && STRCMP(p_bg, gui_bg_default()) != 0) in init_gui_options()
404 (char_u *)&p_bg, PV_NONE,
5148 && STRCMP(p_bg, new_bg_val) != 0) in handle_osc()
1766 if ((char_u **)varp == &p_bg) in do_set()
4039 if (*p_bg == 'l') in init_default_colors()