From ccbfd4883f0385a1d84cc87785ddcc86185b4ad9 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 31 Mar 2022 16:18:23 +0100 Subject: 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) --- src/structs.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/structs.h') diff --git a/src/structs.h b/src/structs.h index 737b9f90e..6c92f073f 100644 --- a/src/structs.h +++ b/src/structs.h @@ -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 -- cgit v1.2.1