diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-07-17 13:35:14 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-07-17 13:35:14 +0200 |
commit | 42ebd066422d73cdb7bda6a1dc828a3dd022dec8 (patch) | |
tree | fa4f548d51f41039c3d6badc8f31a8445bdc876b /runtime/doc/version8.txt | |
parent | 2cb70a2744d484d1b2005be0fd0ea7d6a94a8db7 (diff) |
Update runtime files.
Diffstat (limited to 'runtime/doc/version8.txt')
-rw-r--r-- | runtime/doc/version8.txt | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/runtime/doc/version8.txt b/runtime/doc/version8.txt index 53407339c7..d15d73a859 100644 --- a/runtime/doc/version8.txt +++ b/runtime/doc/version8.txt @@ -1,4 +1,4 @@ -*version8.txt* For Vim version 8.0. Last change: 2016 Jul 03 +*version8.txt* For Vim version 8.0. Last change: 2016 Jul 16 VIM REFERENCE MANUAL by Bram Moolenaar @@ -77,6 +77,14 @@ example above, to pass an argument to the function: > This will call CheckTemp('out') four seconds later. +Lambda ~ + +A short way to create a function has been added: {args -> expr}. See |lambda|. +This is useful for functions such as `filter()` and `map()`, which now also +accept a function argument. Example: > + :call filter(mylist, {idx, val -> val > 20}) + + Packages ~ Plugins keep growing and more of them are available than ever before. To keep |