docs: updated README.md
This commit is contained in:
parent
87899eefc5
commit
9c9212c5b6
25
README.md
25
README.md
|
@ -132,17 +132,16 @@ lualine.inactive_sections = {
|
||||||
<details>
|
<details>
|
||||||
<summary><b>Available components</b></summary>
|
<summary><b>Available components</b></summary>
|
||||||
|
|
||||||
* general
|
* branch (git branch)
|
||||||
* branch (git branch)
|
* diagnostics (diagnostics count from your prefered source)
|
||||||
* diagnostics (diagnostics count from your prefered source)
|
* encoding (file encoding)
|
||||||
* encoding (file encoding)
|
* fileformat (file format)
|
||||||
* fileformat (file format)
|
* filename
|
||||||
* filename
|
* filetype
|
||||||
* filetype
|
* location (location in file in line:column format)
|
||||||
* location (location in file in line:column format)
|
* mode (vim mode)
|
||||||
* mode (vim mode)
|
* progress (%progress in file)
|
||||||
* progress (%progress in file)
|
* diff (git diff status)
|
||||||
* diff (git diff status)
|
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
|
@ -166,7 +165,7 @@ lualine.sections.lualine_a = { hello }
|
||||||
|
|
||||||
You can use vim functions as a lualine component
|
You can use vim functions as a lualine component
|
||||||
|
|
||||||
```
|
```lua
|
||||||
lualine.sections.lualine_b = { 'FugitiveHead' }
|
lualine.sections.lualine_b = { 'FugitiveHead' }
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -179,7 +178,7 @@ You can use variables from vim and lua globals as a lualine component
|
||||||
Variables from g:, v:, t:, w:, b:, o, go:, vo:, to:, wo:, bo: scopes
|
Variables from g:, v:, t:, w:, b:, o, go:, vo:, to:, wo:, bo: scopes
|
||||||
can be used. Scopes ending with o are options usualy accessed with `&` in vimscript
|
can be used. Scopes ending with o are options usualy accessed with `&` in vimscript
|
||||||
|
|
||||||
```
|
```lua
|
||||||
lualine.sections.lualine_b = { 'g:coc_status', 'bo:filetype' }
|
lualine.sections.lualine_b = { 'g:coc_status', 'bo:filetype' }
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue