update the doc: default value of tab_component

This commit is contained in:
itchyny
2016-05-25 20:15:32 +09:00
parent ac5e6df5ca
commit 3d1857e1d9

View File

@@ -175,14 +175,18 @@ OPTIONS *lightline-option*
|g:lightline.component_expand|. The types are used to specify |g:lightline.component_expand|. The types are used to specify
the color. Specifically, the type raw is used to specify a the color. Specifically, the type raw is used to specify a
component which should not be wrapped by item group: %(...%). component which should not be wrapped by item group: %(...%).
> The default value is: >
let g:lightline.component_type = { let g:lightline.component_type = {
\ 'tabs': 'tabsel', \ 'tabs': 'tabsel',
\ 'close': 'raw' } \ 'close': 'raw' }
< <
g:lightline.tab_component *g:lightline.tab_component* g:lightline.tab_component *g:lightline.tab_component*
A dictionary for components in one tab. A dictionary for components in one tab.
The default value is: >
let g:lightline.tab_component = {}
<
g:lightline.tab_component_function *g:lightline.tab_component_function* g:lightline.tab_component_function *g:lightline.tab_component_function*
Another dictionary for components in one tab. Another dictionary for components in one tab.
A function specified as a tab component takes one argument: A function specified as a tab component takes one argument: