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/buffer.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/buffer.c')
-rw-r--r-- | src/nvim/buffer.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/buffer.c b/src/nvim/buffer.c index ce47705aa6..2142b5b298 100644 --- a/src/nvim/buffer.c +++ b/src/nvim/buffer.c @@ -255,7 +255,7 @@ int open_buffer(bool read_stdin, exarg_T *eap, int flags_arg) emsg(_("E83: Cannot allocate buffer, using other one...")); enter_buffer(curbuf); if (old_tw != curbuf->b_p_tw) { - check_colorcolumn(curwin); + check_colorcolumn(NULL, curwin); } return FAIL; } @@ -1029,7 +1029,7 @@ void handle_swap_exists(bufref_T *old_curbuf) enter_buffer(buf); if (old_tw != curbuf->b_p_tw) { - check_colorcolumn(curwin); + check_colorcolumn(NULL, curwin); } } // If "old_curbuf" is NULL we are in big trouble here... @@ -1669,7 +1669,7 @@ void set_curbuf(buf_T *buf, int action, bool update_jumplist) // enter some buffer. Using the last one is hopefully OK. enter_buffer(valid ? buf : lastbuf); if (old_tw != curbuf->b_p_tw) { - check_colorcolumn(curwin); + check_colorcolumn(NULL, curwin); } } |