forked from aniani/vim
patch 8.1.0513: no error for set diffopt+=algorithm:
Problem: No error for set diffopt+=algorithm:. Solution: Check for missing argument. (Hirohito Higashi, closes #3598)
This commit is contained in:
@@ -2266,6 +2266,8 @@ diffopt_changed(void)
|
||||
p += 9;
|
||||
diff_algorithm_new = XDF_HISTOGRAM_DIFF;
|
||||
}
|
||||
else
|
||||
return FAIL;
|
||||
}
|
||||
|
||||
if (*p != ',' && *p != NUL)
|
||||
|
Reference in New Issue
Block a user