diff options
Diffstat (limited to 'src/evalvars.c')
-rw-r--r-- | src/evalvars.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/evalvars.c b/src/evalvars.c index 0ee4b08d5c..4690d1ac47 100644 --- a/src/evalvars.c +++ b/src/evalvars.c @@ -4014,7 +4014,7 @@ set_option_from_tv(char_u *varname, typval_T *varp) strval = tv_get_string_buf_chk(varp, nbuf); } if (!error && strval != NULL) - set_option_value(varname, numval, strval, OPT_LOCAL); + set_option_value_give_err(varname, numval, strval, OPT_LOCAL); } /* |