mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 13:38:34 +00:00
vim-patch:9.0.0036: 'fillchars' cannot have window-local values
Problem: 'fillchars' cannot have window-local values. Solution: Make 'fillchars' global-local. (closes vim/vim#5206)96ba25ac01
Cherry-pick g:run_nr from patch 8.2.0454. N/A patches for version.c: vim-patch:9.0.0037: build error Problem: Build error. Solution: Add missing change.510f03738d
This commit is contained in:
@@ -960,7 +960,9 @@ char *did_set_string_option(int opt_idx, char_u **varp, char_u *oldval, char *er
|
||||
FOR_ALL_TAB_WINDOWS(tp, wp) {
|
||||
// If no error was returned above, we don't expect an error
|
||||
// here, so ignore the return value.
|
||||
(void)set_chars_option(wp, (char_u **)&wp->w_p_lcs, true);
|
||||
if (*wp->w_p_lcs == NUL) {
|
||||
(void)set_chars_option(wp, (char_u **)&wp->w_p_lcs, true);
|
||||
}
|
||||
}
|
||||
redraw_all_later(UPD_NOT_VALID);
|
||||
}
|
||||
@@ -977,7 +979,9 @@ char *did_set_string_option(int opt_idx, char_u **varp, char_u *oldval, char *er
|
||||
FOR_ALL_TAB_WINDOWS(tp, wp) {
|
||||
// If no error was returned above, we don't expect an error
|
||||
// here, so ignore the return value.
|
||||
(void)set_chars_option(wp, (char_u **)&wp->w_p_fcs, true);
|
||||
if (*wp->w_p_fcs == NUL) {
|
||||
(void)set_chars_option(wp, (char_u **)&wp->w_p_fcs, true);
|
||||
}
|
||||
}
|
||||
redraw_all_later(UPD_NOT_VALID);
|
||||
}
|
||||
|
Reference in New Issue
Block a user