diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-10-24 07:22:04 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-24 07:22:04 +0800 |
commit | 611c416359e2beb90d4ca73c86bcaa43cb17892c (patch) | |
tree | 773b1eac63cedfcf82a9f0f630672873d587cafa /src/nvim/option.c | |
parent | 230b0c7f021a57647a658edce27fe115343f083f (diff) | |
parent | 19204ebde9fe7a706d5afd1a9d14cfe71ff3a810 (diff) | |
download | rneovim-611c416359e2beb90d4ca73c86bcaa43cb17892c.tar.gz rneovim-611c416359e2beb90d4ca73c86bcaa43cb17892c.tar.bz2 rneovim-611c416359e2beb90d4ca73c86bcaa43cb17892c.zip |
Merge pull request #30918 from zeertzjq/vim-9.1.0802
vim-patch:9.1.{0802,0803,0804,0806,0812}: :setglobal fixes
Diffstat (limited to 'src/nvim/option.c')
-rw-r--r-- | src/nvim/option.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/option.c b/src/nvim/option.c index 89753f7cf8..933ee4ba75 100644 --- a/src/nvim/option.c +++ b/src/nvim/option.c @@ -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,8 +5111,8 @@ void didset_window_options(win_T *wp, bool valid_cursor) } else { wp->w_skipcol = 0; } - check_colorcolumn(wp); - briopt_check(wp); + check_colorcolumn(NULL, wp); + briopt_check(NULL, wp); fill_culopt_flags(NULL, wp); set_chars_option(wp, wp->w_p_fcs, kFillchars, true, NULL, 0); set_chars_option(wp, wp->w_p_lcs, kListchars, true, NULL, 0); |