mirror of
https://github.com/neovim/neovim.git
synced 2025-09-30 06:58:35 +00:00
fix(options): correct condition for calling did_set_option() (#25026)
This commit is contained in:
@@ -3772,7 +3772,7 @@ static const char *set_option(int opt_idx, void *varp, OptVal *v, int opt_flags,
|
||||
errbuf, errbuflen);
|
||||
}
|
||||
|
||||
if (errmsg != NULL) {
|
||||
if (errmsg == NULL) {
|
||||
did_set_option(opt_idx, opt_flags, true, value_checked);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user