mirror of
https://github.com/neovim/neovim.git
synced 2025-10-16 06:46:07 +00:00
Revert "refactor(options): set option value for non-current context directly" (#31924)
Reverts #31112
This commit is contained in:
@@ -411,8 +411,8 @@ win_T *win_float_create(bool enter, bool new_buf)
|
||||
return handle_error_and_cleanup(wp, &err);
|
||||
}
|
||||
buf->b_p_bl = false; // unlist
|
||||
set_option_direct_for(kOptBufhidden, STATIC_CSTR_AS_OPTVAL("wipe"),
|
||||
option_ctx_from(kOptScopeBuf, buf), OPT_LOCAL, 0);
|
||||
set_option_direct_for(kOptBufhidden, STATIC_CSTR_AS_OPTVAL("wipe"), OPT_LOCAL, 0,
|
||||
kOptScopeBuf, buf);
|
||||
win_set_buf(wp, buf, &err);
|
||||
if (ERROR_SET(&err)) {
|
||||
return handle_error_and_cleanup(wp, &err);
|
||||
|
Reference in New Issue
Block a user