aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/buffer.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2022-08-13 11:17:42 +0200
committerGitHub <noreply@github.com>2022-08-13 11:17:42 +0200
commit9dec3815d2b8d768ae9d3a8c2a0d3a1e806157e5 (patch)
treef7bda95f5e50a98a3b61cbbd1811f2ecad8502da /src/nvim/buffer.c
parenta850b15e1968476e0f609a9d699cdf24fd13e3a2 (diff)
parent33f4ba7379b5ad1670f9168dd98e3031780776f1 (diff)
downloadrneovim-9dec3815d2b8d768ae9d3a8c2a0d3a1e806157e5.tar.gz
rneovim-9dec3815d2b8d768ae9d3a8c2a0d3a1e806157e5.tar.bz2
rneovim-9dec3815d2b8d768ae9d3a8c2a0d3a1e806157e5.zip
Merge pull request #19751 from bfredl/tabbar
fix(winbar): do not always assume cursor is valid
Diffstat (limited to 'src/nvim/buffer.c')
-rw-r--r--src/nvim/buffer.c4
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.