improve README.md

This commit is contained in:
itchyny
2013-08-24 01:36:03 +09:00
parent 496c3dc892
commit 0230844edf
2 changed files with 4 additions and 4 deletions

View File

@@ -233,7 +233,7 @@ let g:lightline = {
\ 'subseparator': { 'left': '⮁', 'right': '⮃' } \ 'subseparator': { 'left': '⮁', 'right': '⮃' }
\ } \ }
``` ```
If the plugin arranges all the component (in a situation you `set paste` and the file `.vimrc` is read-only, try to modify): If the plugin arranges all the components (in a situation you `set paste` and the file `.vimrc` is read-only, try to modify):
![lightline.vim - tutorial](https://raw.github.com/wiki/itchyny/lightline.vim/image/tutorial/9.png) ![lightline.vim - tutorial](https://raw.github.com/wiki/itchyny/lightline.vim/image/tutorial/9.png)
The mode component, the paste component, read-only component, filename component and modified component in a row. The mode component, the paste component, read-only component, filename component and modified component in a row.
Normally, the paste component does not show up. Normally, the paste component does not show up.

View File

@@ -4,7 +4,7 @@ Version: 0.0
Author: itchyny (https://github.com/itchyny) Author: itchyny (https://github.com/itchyny)
License: MIT License License: MIT License
Repository: https://github.com/itchyny/lightline.vim Repository: https://github.com/itchyny/lightline.vim
Last Change: 2013/08/23 19:20:57. Last Change: 2013/08/24 01:05:30.
CONTENTS *lightline-contents* CONTENTS *lightline-contents*
@@ -59,7 +59,7 @@ OPTIONS *lightline-options*
\ 'percent': '%3p%%', \ 'percent': '%3p%%',
\ 'lineinfo': '%3l:%-2v' } \ 'lineinfo': '%3l:%-2v' }
< <
g:lightline.component_visible_condition *g:lightline.component_visible_condition* g:lightline.component_visible_condition *g:lightline.component_visible_condition*
Dictionary of boolean expressions for the components. Dictionary of boolean expressions for the components.
Each expression should correspond to the condition each Each expression should correspond to the condition each
component have non-zero length. component have non-zero length.
@@ -71,7 +71,7 @@ OPTIONS *lightline-options*
Users are recommended to set this option together with the Users are recommended to set this option together with the
component itself. component itself.
g:lightline.component_function *g:lightline.component_function* g:lightline.component_function *g:lightline.component_function*
Another dictionary for components. This is more convenient Another dictionary for components. This is more convenient
because the user does not have to set both component and because the user does not have to set both component and
component_visible_condition. If a component set to both component and component_visible_condition. If a component set to both component and