forked from aniani/vim
patch 8.2.4104: Vim9: lower casing the autoload prefix causes problems
Problem: Vim9: lower casing the autoload prefix causes problems. Solution: Always store the prefix with case preserved.
This commit is contained in:
@@ -2156,11 +2156,7 @@ get_autoload_prefix(scriptitem_T *si)
|
||||
|
||||
if (p == NULL)
|
||||
return NULL;
|
||||
#ifdef CASE_INSENSITIVE_FILENAME
|
||||
prefix = strlow_save(p);
|
||||
#else
|
||||
prefix = vim_strsave(p);
|
||||
#endif
|
||||
if (prefix == NULL)
|
||||
return NULL;
|
||||
|
||||
|
Reference in New Issue
Block a user