Problem: Vim9: lower casing the autoload prefix causes problems.
Solution: Always store the prefix with case preserved.
if (p == NULL)
return NULL;
-#ifdef CASE_INSENSITIVE_FILENAME
- prefix = strlow_save(p);
-#else
prefix = vim_strsave(p);
-#endif
if (prefix == NULL)
return NULL;
END
CheckScriptSuccess(lines)
+ if !has('fname_case')
+ lines =<< trim END
+ vim9script
+ import autoload 'CaseSensitive.vim'
+ import autoload 'casesensitive.vim'
+ END
+ CheckScriptFailure(lines, 'E1262:')
+ endif
+
delete('Xdir', 'rf')
&rtp = save_rtp
enddef
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 4104,
/**/
4103,
/**/