diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-03-31 16:18:23 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-03-31 16:18:23 +0100 |
commit | ccbfd4883f0385a1d84cc87785ddcc86185b4ad9 (patch) | |
tree | 65f63c71b3792956985261e7ae0e4a02df0e9884 /src/structs.h | |
parent | 1104a6d0c2004d39e9b6cb8f804d12b628a69869 (diff) | |
download | vim-git-ccbfd4883f0385a1d84cc87785ddcc86185b4ad9.tar.gz |
patch 8.2.4656: Vim9: can't use item from "import autoload" with autoload dirv8.2.4656
Problem: Vim9: can't use items from "import autoload" with autoload
directory name.
Solution: Let sn_autoload_prefix overrule sn_import_autoload.
(closes #10054)
Diffstat (limited to 'src/structs.h')
-rw-r--r-- | src/structs.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 |