diff options
Diffstat (limited to 'src/nvim/option.c')
-rw-r--r-- | src/nvim/option.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/nvim/option.c b/src/nvim/option.c index c11e22703e..616eba31f6 100644 --- a/src/nvim/option.c +++ b/src/nvim/option.c @@ -1150,9 +1150,10 @@ do_set ( */ arg += 3; if (*arg == '&') { - ++arg; - /* Only for :set command set global value of local options. */ + arg++; + // Only for :set command set global value of local options. set_options_default(OPT_FREE | opt_flags); + redraw_all_later(CLEAR); } else { showoptions(1, opt_flags); did_show = TRUE; |