Mercurial > vim
comparison runtime/doc/eval.txt @ 9110:6d3888e2232c v7.4.1839
commit https://github.com/vim/vim/commit/2bbf8eff6fab16d86e7bcfc0da1962d31bec7891
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue May 24 18:37:12 2016 +0200
patch 7.4.1839
Problem: Cannot get the items stored in a partial.
Solution: Support using get() on a partial.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 24 May 2016 18:45:06 +0200 |
parents | d319453f62b3 |
children | 0cc48b3cd884 |
comparison
equal
deleted
inserted
replaced
9109:e1d99f1c4436 | 9110:6d3888e2232c |
---|---|
3769 omitted. | 3769 omitted. |
3770 get({dict}, {key} [, {default}]) | 3770 get({dict}, {key} [, {default}]) |
3771 Get item with key {key} from |Dictionary| {dict}. When this | 3771 Get item with key {key} from |Dictionary| {dict}. When this |
3772 item is not available return {default}. Return zero when | 3772 item is not available return {default}. Return zero when |
3773 {default} is omitted. | 3773 {default} is omitted. |
3774 get({partial}, {what}) | |
3775 Get an item with from Funcref {partial}. Possible values for | |
3776 {what} are: | |
3777 'func' The function | |
3778 'dict' The dictionary | |
3779 'args' The list with arguments | |
3774 | 3780 |
3775 *getbufline()* | 3781 *getbufline()* |
3776 getbufline({expr}, {lnum} [, {end}]) | 3782 getbufline({expr}, {lnum} [, {end}]) |
3777 Return a |List| with the lines starting from {lnum} to {end} | 3783 Return a |List| with the lines starting from {lnum} to {end} |
3778 (inclusive) in the buffer {expr}. If {end} is omitted, a | 3784 (inclusive) in the buffer {expr}. If {end} is omitted, a |