summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/vim9.txt10
1 files changed, 8 insertions, 2 deletions
diff --git a/runtime/doc/vim9.txt b/runtime/doc/vim9.txt
index 7c4a64f972..f9fd1367dd 100644
--- a/runtime/doc/vim9.txt
+++ b/runtime/doc/vim9.txt
@@ -426,11 +426,14 @@ The boolean operators "||" and "&&" do not change the value: >
2 && 0 == 0
[] && 2 == []
-When using `..` for string concatenation the arguments are always converted to
-string. >
+When using `..` for string concatenation arguments of simple types are always
+converted to string. >
'hello ' .. 123 == 'hello 123'
'hello ' .. v:true == 'hello true'
+Simple types are string, float, special and bool. For other types |string()|
+can be used.
+
In Vim9 script one can use "true" for v:true and "false" for v:false.
@@ -805,6 +808,9 @@ actually needed. A recommended mechanism:
...
< This goes in .../import/someother.vim.
+When compiling a `:def` function and a function in an autoload script is
+encountered, the script is not loaded until the `:def` function is called.
+
Import in legacy Vim script ~