mirror of
https://github.com/itchyny/lightline.vim.git
synced 2025-11-14 06:23:51 -05:00
improve README.md
This commit is contained in:
@@ -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):
|
||||||

|

|
||||||
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.
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user