mirror of
https://github.com/powerline/powerline.git
synced 2025-04-08 19:25:04 +02:00
If somebody needs to readd it he should make better code, specifically: - Functions and variables necessary for supporting Control-P need to be defined in a separate initialiazation function that is only called if Control-P was found. - Segments that show different information must be defined as separate segments that may be put into configuration file. - Segment functions must not know side they are on. - Segment functions must not emit `priority`, it must go to configuration file. - Segment functions must have proper documentation. - Segment functions must not emit `width` and `align` keys. - String `Loading...` or the equivalent must be overridable from configuration, same for other interface strings (e.g. what is shown when `regex` is true). - Segment functions must have names that make it clear what they emit. Closes #1244
41 lines
673 B
ReStructuredText
41 lines
673 B
ReStructuredText
************
|
|
Vim segments
|
|
************
|
|
|
|
.. automodule:: powerline.segments.vim
|
|
:members:
|
|
|
|
|
|
Plugin-specific segments
|
|
========================
|
|
|
|
Syntastic segments
|
|
------------------
|
|
|
|
.. automodule:: powerline.segments.vim.plugin.syntastic
|
|
:members:
|
|
|
|
Command-T segments
|
|
------------------
|
|
|
|
.. automodule:: powerline.segments.vim.plugin.commandt
|
|
:members:
|
|
|
|
Tagbar segments
|
|
---------------
|
|
|
|
.. automodule:: powerline.segments.vim.plugin.tagbar
|
|
:members:
|
|
|
|
NERDTree segments
|
|
-----------------
|
|
|
|
.. automodule:: powerline.segments.vim.plugin.nerdtree
|
|
:members:
|
|
|
|
Capslock segments
|
|
-----------------
|
|
|
|
.. automodule:: powerline.segments.vim.plugin.capslock
|
|
:members:
|