diff options
author | Bram Moolenaar <Bram@vim.org> | 2009-11-17 11:20:35 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2009-11-17 11:20:35 +0000 |
commit | 627b1d38624535c79912c48a5382aebbd5fb1e1e (patch) | |
tree | fdc9496bb9adc2d4519a80b21368a0ee0e6dadf1 /runtime | |
parent | eaf033921144ef2402ee1e521c111fcb2e953d04 (diff) | |
download | vim-git-627b1d38624535c79912c48a5382aebbd5fb1e1e.tar.gz |
updated for version 7.2-295v7.2.295
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/eval.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index ba498af2f..afa38a493 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -3802,7 +3802,8 @@ map({expr}, {string}) *map()* Replace each item in {expr} with the result of evaluating {string}. Inside {string} |v:val| has the value of the current item. - For a |Dictionary| |v:key| has the key of the current item. + For a |Dictionary| |v:key| has the key of the current item + and for a |List| |v:key| has the index of the current item. Example: > :call map(mylist, '"> " . v:val . " <"') < This puts "> " before and " <" after each item in "mylist". |