0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.2.4656: Vim9: can't use item from "import autoload" with autoload dir

Problem:    Vim9: can't use items from "import autoload" with autoload
            directory name.
Solution:   Let sn_autoload_prefix overrule sn_import_autoload.
            (closes #10054)
This commit is contained in:
Bram Moolenaar
2022-03-31 16:18:23 +01:00
parent 1104a6d0c2
commit ccbfd4883f
6 changed files with 65 additions and 26 deletions

View File

@@ -1868,6 +1868,7 @@ typedef struct
char_u *sn_autoload_prefix;
// TRUE for a script used with "import autoload './dirname/script.vim'"
// For "../autoload/script.vim" sn_autoload_prefix is also set.
int sn_import_autoload;
# ifdef FEAT_PROFILE