mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 14:38:32 +00:00
vim-patch:9.1.0804: tests: no error check when setting global 'cc'
Problem: tests: no error check when setting global 'cc'
Solution: also parse and check global 'cc' value (Milly)
closes: vim/vim#15914
a441a3eaab
Co-authored-by: Milly <milly.ca@gmail.com>
This commit is contained in:
@@ -2592,7 +2592,7 @@ static const char *did_set_swapfile(optset_T *args)
|
||||
static const char *did_set_textwidth(optset_T *args FUNC_ATTR_UNUSED)
|
||||
{
|
||||
FOR_ALL_TAB_WINDOWS(tp, wp) {
|
||||
check_colorcolumn(wp);
|
||||
check_colorcolumn(NULL, wp);
|
||||
}
|
||||
|
||||
return NULL;
|
||||
@@ -5111,7 +5111,7 @@ void didset_window_options(win_T *wp, bool valid_cursor)
|
||||
} else {
|
||||
wp->w_skipcol = 0;
|
||||
}
|
||||
check_colorcolumn(wp);
|
||||
check_colorcolumn(NULL, wp);
|
||||
briopt_check(wp);
|
||||
fill_culopt_flags(NULL, wp);
|
||||
set_chars_option(wp, wp->w_p_fcs, kFillchars, true, NULL, 0);
|
||||
|
Reference in New Issue
Block a user