From fd218c8a36e7ed33f7a205163690c5b7d2f31f8a Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 18 Jan 2022 16:26:24 +0000 Subject: patch 8.2.4136: Vim9: the "autoload" argument of ":vim9script" is not useful Problem: Vim9: the "autoload" argument of ":vim9script" is not useful. Solution: Remove the argument. (closes #9555) --- runtime/doc/repeat.txt | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'runtime/doc/repeat.txt') diff --git a/runtime/doc/repeat.txt b/runtime/doc/repeat.txt index 067234a018..9a82ba463d 100644 --- a/runtime/doc/repeat.txt +++ b/runtime/doc/repeat.txt @@ -365,12 +365,11 @@ For writing a Vim script, see chapter 41 of the user manual |usr_41.txt|. Vim version, or update Vim to a newer version. See |vimscript-version| for what changed between versions. -:vim9s[cript] [noclear] [autoload] *:vim9s* *:vim9script* +:vim9s[cript] [noclear] *:vim9s* *:vim9script* Marks a script file as containing |Vim9-script| commands. Also see |vim9-namespace|. Must be the first command in the file. For [noclear] see |vim9-reload|. - For [autoload] see |vim9-autoload|. Without the |+eval| feature this changes the syntax for some commands. See |:vim9cmd| for executing one command with Vim9 @@ -378,8 +377,8 @@ For writing a Vim script, see chapter 41 of the user manual |usr_41.txt|. *:scr* *:scriptnames* :scr[iptnames] List all sourced script names, in the order they were - first sourced. The number is used for the script ID - ||. + first encountered. The number is used for the script + ID ||. For a script that was used with `import autoload` but was not actually sourced yet an "A" is shown after the script ID. -- cgit v1.2.3