diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-01-25 21:14:57 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-01-25 21:14:57 +0100 |
commit | e0e3917554327f2524066f89fbbef9c83c1535da (patch) | |
tree | 8cea7343dbb8e20c6bc3248152ddb94fad59eac0 /runtime/doc/vim9.txt | |
parent | e5ea346a07a7750c02a89996b67716b43c767d06 (diff) | |
download | vim-git-e0e3917554327f2524066f89fbbef9c83c1535da.tar.gz |
Update runtime files.
Diffstat (limited to 'runtime/doc/vim9.txt')
-rw-r--r-- | runtime/doc/vim9.txt | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/runtime/doc/vim9.txt b/runtime/doc/vim9.txt index 93c3ddd2f..7246ff87a 100644 --- a/runtime/doc/vim9.txt +++ b/runtime/doc/vim9.txt @@ -1,4 +1,4 @@ -*vim9.txt* For Vim version 8.2. Last change: 2021 Jan 15 +*vim9.txt* For Vim version 8.2. Last change: 2021 Jan 23 VIM REFERENCE MANUAL by Bram Moolenaar @@ -403,10 +403,16 @@ Additionally, a lambda can contain statements in {}: > } NOT IMPLEMENTED YET + *vim9-curly* To avoid the "{" of a dictionary literal to be recognized as a statement block wrap it in parenthesis: > var Lambda = (arg) => ({key: 42}) +Also when confused with the start of a command block: > + ({ + key: value + })->method() + Automatic line continuation ~ @@ -841,6 +847,9 @@ prefix and they do not need to exist (they can be deleted any time). Note that for command line completion of {func} you can prepend "s:" to find script-local functions. +:disa[ssemble]! {func} Like `:disassemble` but with the instructions used for + profiling. + Limitations ~ Local variables will not be visible to string evaluation. For example: > |