patch 8.2.4135: Vim9: ":scriptnames" shows unloaded imported autoload script

Problem:    Vim9: ":scriptnames" shows unloaded imported autoload script.
Solution:   Mark the unloaded script with "A". (closes #9552)
This commit is contained in:
Bram Moolenaar
2022-01-18 14:16:59 +00:00
parent 113b8dc111
commit 6079da7cfb
4 changed files with 17 additions and 4 deletions

View File

@ -380,6 +380,9 @@ For writing a Vim script, see chapter 41 of the user manual |usr_41.txt|.
:scr[iptnames] List all sourced script names, in the order they were
first sourced. The number is used for the script ID
|<SID>|.
For a script that was used with `import autoload` but
was not actually sourced yet an "A" is shown after the
script ID.
{not available when compiled without the |+eval|
feature}