mirror of
https://github.com/powerline/powerline.git
synced 2025-07-24 06:15:41 +02:00
Add lister reference
This commit is contained in:
parent
402cc9e911
commit
c3099ce48b
@ -133,4 +133,5 @@ References
|
|||||||
|
|
||||||
configuration/reference
|
configuration/reference
|
||||||
configuration/segments
|
configuration/segments
|
||||||
|
configuration/listers
|
||||||
configuration/local
|
configuration/local
|
||||||
|
21
docs/source/configuration/listers.rst
Normal file
21
docs/source/configuration/listers.rst
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
****************
|
||||||
|
Lister reference
|
||||||
|
****************
|
||||||
|
|
||||||
|
Listers are special segment collections which allow to show some list of
|
||||||
|
segments for each entity in the list of entities (multiply their segments list
|
||||||
|
by a list of entities). E.g. ``powerline.listers.vim.tablister`` presented with
|
||||||
|
``powerline.segments.vim.tabnr`` and ``….file_name`` as segments will emit
|
||||||
|
segments with buffer names and tabpage numbers for each tabpage shown by vim.
|
||||||
|
|
||||||
|
Listers appear in configuration as irregular segments having ``segment_list`` as
|
||||||
|
their type and ``segments`` key with a list of segments (a bit more details in
|
||||||
|
:ref:`Themes section of configuration reference <config-themes-segments>`).
|
||||||
|
|
||||||
|
Currently only Vim listers are available.
|
||||||
|
|
||||||
|
Vim listers
|
||||||
|
-----------
|
||||||
|
|
||||||
|
.. automodule:: powerline.listers.vim
|
||||||
|
:members:
|
@ -1,3 +1,5 @@
|
|||||||
|
.. _dev-segments:
|
||||||
|
|
||||||
****************
|
****************
|
||||||
Writing segments
|
Writing segments
|
||||||
****************
|
****************
|
||||||
|
Loading…
x
Reference in New Issue
Block a user