1
0
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:
Bram Moolenaar
2019-07-28 19:24:36 +02:00
parent d4404b4391
commit b78564d022
2 changed files with 5 additions and 2 deletions

View File

@@ -7433,9 +7433,10 @@ did_set_string_option(
# ifdef BACKSLASH_IN_FILENAME # ifdef BACKSLASH_IN_FILENAME
// 'completeslash' // '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; errmsg = e_invarg;
} }
# endif # endif

View File

@@ -777,6 +777,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
1772,
/**/ /**/
1771, 1771,
/**/ /**/