mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 05:58:33 +00:00
fix(options): do not change inccommand during preview (#25462)
This commit is contained in:
@@ -1569,6 +1569,9 @@ const char *did_set_iconstring(optset_T *args)
|
||||
/// The 'inccommand' option is changed.
|
||||
const char *did_set_inccommand(optset_T *args FUNC_ATTR_UNUSED)
|
||||
{
|
||||
if (cmdpreview) {
|
||||
return e_invarg;
|
||||
}
|
||||
return did_set_opt_strings(p_icm, p_icm_values, false);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user