Mercurial > vim
diff runtime/doc/eval.txt @ 6741:fbc1131f0ba5
Updated runtime files.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Mon, 13 Apr 2015 12:43:06 +0200 |
parents | 12155a47f6c2 |
children | 0303182665d5 |
line wrap: on
line diff
--- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -1,4 +1,4 @@ -*eval.txt* For Vim version 7.4. Last change: 2015 Mar 21 +*eval.txt* For Vim version 7.4. Last change: 2015 Apr 11 VIM REFERENCE MANUAL by Bram Moolenaar @@ -525,7 +525,7 @@ Funcref to a Dictionary, but the "self" To avoid the extra name for the function it can be defined and directly assigned to a Dictionary in this way: > :let mydict = {'data': [0, 1, 2, 3]} - :function mydict.len() dict + :function mydict.len() : return len(self.data) :endfunction :echo mydict.len()