This commit is contained in:
Justin M. Keyes
2018-02-11 19:02:57 +01:00
parent 22173a64dd
commit f26a4d484b
5 changed files with 12 additions and 15 deletions

View File

@@ -1525,7 +1525,7 @@ do_set (
origval = oldval;
}
if (nextchar == '&') { /* set to default val */
if (nextchar == '&') { // set to default val
newval = options[opt_idx].def_val[
((flags & P_VI_DEF) || cp_val)
? VI_DEFAULT : VIM_DEFAULT];