Update runtime files.
diff --git a/runtime/doc/vim9.txt b/runtime/doc/vim9.txt
index eb26982..c6c04a9 100644
--- a/runtime/doc/vim9.txt
+++ b/runtime/doc/vim9.txt
@@ -113,7 +113,7 @@
:%s/this/that
- Executing a register with "@r" does not work, you can prepend a colon or use
`:exe`: >
- :exe @a
+ :exe @a
- Unless mentioned specifically, the highest |scriptversion| is used.
- When defining an expression mapping, the expression will be evaluated in the
context of the script where it was defined.
@@ -622,7 +622,7 @@
}
This can be useful for a timer, for example: >
var count = 0
- var timer = timer_start(500, (_) => {
+ var timer = timer_start(500, (_) => {
count += 1
echom 'Handler called ' .. count
}, {repeat: 3})
@@ -824,7 +824,7 @@
White space is required in a sublist (list slice) around the ":", except at
the start and end: >
- otherlist = mylist[v : count] # v:count has a different meaning
+ otherlist = mylist[v : count] # v:count has a different meaning
otherlist = mylist[:] # make a copy of the List
otherlist = mylist[v :]
otherlist = mylist[: v]
@@ -879,7 +879,7 @@
use another character, use a single or double quoted string: >
var dict = {'key with space': value}
var dict = {"key\twith\ttabs": value}
- var dict = {'': value} # empty key
+ var dict = {'': value} # empty key
< *E1139*
In case the key needs to be an expression, square brackets can be used, just
like in JavaScript: >
@@ -1402,7 +1402,7 @@
echo line(1) .. line(2)
- line continuation does not always require a backslash: >
- echo ['one',
+ echo ['one',
\ 'two',
\ 'three'
\ ]