mirror of
https://github.com/neovim/neovim.git
synced 2025-09-13 06:48:17 +00:00
api/window: add style="minimal" flag to nvim_open_win()
This commit is contained in:
@@ -2543,6 +2543,11 @@ void get_winopts(buf_T *buf)
|
||||
} else
|
||||
copy_winopt(&curwin->w_allbuf_opt, &curwin->w_onebuf_opt);
|
||||
|
||||
if (curwin->w_float_config.style == kWinStyleMinimal) {
|
||||
didset_window_options(curwin);
|
||||
win_set_minimal_style(curwin);
|
||||
}
|
||||
|
||||
// Set 'foldlevel' to 'foldlevelstart' if it's not negative.
|
||||
if (p_fdls >= 0) {
|
||||
curwin->w_p_fdl = p_fdls;
|
||||
|
Reference in New Issue
Block a user