diff options
author | bfredl <bjorn.linse@gmail.com> | 2022-08-13 10:45:21 +0200 |
---|---|---|
committer | bfredl <bjorn.linse@gmail.com> | 2022-08-13 10:45:21 +0200 |
commit | 33f4ba7379b5ad1670f9168dd98e3031780776f1 (patch) | |
tree | f7bda95f5e50a98a3b61cbbd1811f2ecad8502da /src/nvim/buffer.c | |
parent | a850b15e1968476e0f609a9d699cdf24fd13e3a2 (diff) | |
download | rneovim-33f4ba7379b5ad1670f9168dd98e3031780776f1.tar.gz rneovim-33f4ba7379b5ad1670f9168dd98e3031780776f1.tar.bz2 rneovim-33f4ba7379b5ad1670f9168dd98e3031780776f1.zip |
fix(winbar): do not always assume cursor is valid. fixes #19458
Diffstat (limited to 'src/nvim/buffer.c')
-rw-r--r-- | src/nvim/buffer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/buffer.c b/src/nvim/buffer.c index 7c187ca735..ce788cc7a0 100644 --- a/src/nvim/buffer.c +++ b/src/nvim/buffer.c @@ -2596,7 +2596,7 @@ void get_winopts(buf_T *buf) } if (curwin->w_float_config.style == kWinStyleMinimal) { - didset_window_options(curwin); + didset_window_options(curwin, false); win_set_minimal_style(curwin); } @@ -2604,7 +2604,7 @@ void get_winopts(buf_T *buf) if (p_fdls >= 0) { curwin->w_p_fdl = p_fdls; } - didset_window_options(curwin); + didset_window_options(curwin, false); } /// Find the mark for the buffer 'buf' for the current window. |