summaryrefslogtreecommitdiff
path: root/runtime/doc/repeat.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-02-14 12:57:36 +0100
committerBram Moolenaar <Bram@vim.org>2021-02-14 12:57:36 +0100
commit39f3b1411068ff187b4f9f482b2d6b2c1e7a7268 (patch)
tree7e5d52bcaee7087ff50014d564e33e2d3f873a64 /runtime/doc/repeat.txt
parent10ccfb2a17e736ace054b19dc712544b4e961671 (diff)
downloadvim-git-39f3b1411068ff187b4f9f482b2d6b2c1e7a7268.tar.gz
patch 8.2.2511: Vim9: cannot use Vim9 script syntax in some placesv8.2.2511
Problem: Vim9: cannot use Vim9 script syntax in some places. Solution: Add the :vim9cmd command modifier. Incompatible: Makes ":vim9" mean ":vim9cmd" instead of ":vim9script".
Diffstat (limited to 'runtime/doc/repeat.txt')
-rw-r--r--runtime/doc/repeat.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/doc/repeat.txt b/runtime/doc/repeat.txt
index 195a2025a..60ef9c1a0 100644
--- a/runtime/doc/repeat.txt
+++ b/runtime/doc/repeat.txt
@@ -354,13 +354,15 @@ 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.
-:vim9[script] [noclear] *:vim9* *: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|.
Without the |+eval| feature this changes the syntax
for some commands.
+ See |:vim9cmd| for executing one command with Vim9
+ syntax and semantics.
*:scr* *:scriptnames*
:scr[iptnames] List all sourced script names, in the order they were