forked from aniani/vim
patch 8.1.1772: options test still fails on MS-Windows
Problem: Options test still fails on MS-Windows. Solution: Check buffer-local value of 'completeslash'.
This commit is contained in:
@@ -7433,9 +7433,10 @@ did_set_string_option(
|
||||
|
||||
# ifdef BACKSLASH_IN_FILENAME
|
||||
// 'completeslash'
|
||||
else if (varp == &curbuf->b_p_csl)
|
||||
else if (gvarp == &p_csl)
|
||||
{
|
||||
if (check_opt_strings(p_csl, p_csl_values, FALSE) != OK)
|
||||
if (check_opt_strings(p_csl, p_csl_values, FALSE) != OK
|
||||
|| check_opt_strings(curbuf->b_p_csl, p_csl_values, FALSE) != OK)
|
||||
errmsg = e_invarg;
|
||||
}
|
||||
# endif
|
||||
|
@@ -777,6 +777,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1772,
|
||||
/**/
|
||||
1771,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user