1
0
forked from aniani/vim

updated for version 7.3.947

Problem:    Python: No iterator for vim.list and vim.bufferlist.
Solution:   Add the iterators. Also fix name of FunctionType. Add tests for
            vim.buffers.  (ZyX)
This commit is contained in:
Bram Moolenaar
2013-05-15 14:39:52 +02:00
parent 46a7561f3a
commit b6c589a529
11 changed files with 361 additions and 48 deletions

View File

@@ -214,6 +214,7 @@ vim.buffers *python-buffers*
:py b = vim.buffers[i] # Indexing (read-only)
:py b in vim.buffers # Membership test
:py n = len(vim.buffers) # Number of elements
:py for b in vim.buffers: # Iterating over buffer list
<
vim.windows *python-windows*
A sequence object providing access to the list of vim windows. The