mirror of
https://github.com/neovim/neovim.git
synced 2026-04-28 10:14:06 +00:00
option: Fix PVS/V560: EXPAND_BOOL_SETTINGS already caused early return
This commit is contained in:
@@ -6075,7 +6075,7 @@ set_context_in_set_cmd (
|
||||
xp->xp_context = EXPAND_UNSUCCESSFUL;
|
||||
return;
|
||||
}
|
||||
if (xp->xp_context != EXPAND_BOOL_SETTINGS && p[1] == NUL) {
|
||||
if (p[1] == NUL) {
|
||||
xp->xp_context = EXPAND_OLD_SETTING;
|
||||
if (is_term_option)
|
||||
expand_option_idx = -1;
|
||||
|
||||
Reference in New Issue
Block a user