summaryrefslogtreecommitdiffstats
path: root/runtime/doc/vim9.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-02-15 21:41:42 +0100
committerBram Moolenaar <Bram@vim.org>2020-02-15 21:41:42 +0100
commitebdf3c964a901fc00c9009689f7cfda478342c51 (patch)
treee5faed056bf1d5daba27b4b6edb2ee2bda30c4c4 /runtime/doc/vim9.txt
parentc2adc00fa74530e7f9d2cd31ce39252e86465dd0 (diff)
Update runtime files.
Diffstat (limited to 'runtime/doc/vim9.txt')
-rw-r--r--runtime/doc/vim9.txt13
1 files changed, 7 insertions, 6 deletions
diff --git a/runtime/doc/vim9.txt b/runtime/doc/vim9.txt
index dd2b1b2187..da4f1634b2 100644
--- a/runtime/doc/vim9.txt
+++ b/runtime/doc/vim9.txt
@@ -1,4 +1,4 @@
-*vim9.txt* For Vim version 8.2. Last change: 2020 Jan 30
+*vim9.txt* For Vim version 8.2. Last change: 2020 Feb 13
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -231,11 +231,8 @@ THIS IS STILL UNDER DEVELOPMENT - ANYTHING CAN BREAK - ANYTHING CAN CHANGE
the function follows in the next lines, until the
matching `:enddef`.
- When {return-type} is omitted the return type will be
- decided upon by the first encountered `return`
- statement in the function. E.g., for: >
- return 'message'
-< The return type will be "string".
+ When {return-type} is omitted the function is not
+ expected to return anything.
{arguments} is a sequence of zero or more argument
declarations. There are three forms:
@@ -257,6 +254,10 @@ THIS IS STILL UNDER DEVELOPMENT - ANYTHING CAN BREAK - ANYTHING CAN CHANGE
:enddef End of a function defined with `:def`.
+ *:disa* *:disassemble*
+:disa[ssemble] {func} Show the instructions generated for {func}.
+ This is for debugging and testing.
+
==============================================================================
4. Types *vim9-types*