chore: fix typos
This commit is contained in:
parent
a643a24d94
commit
9eda025073
|
@ -234,7 +234,7 @@ You can use any valid lua expression as a component including
|
||||||
* global variables
|
* global variables
|
||||||
* require statements
|
* require statements
|
||||||
```lua
|
```lua
|
||||||
sections = {lualine_c = {"os.data('%a')", 'data', "require'lsp-status'.status()"}}
|
sections = {lualine_c = {"os.date('%a')", 'data', "require'lsp-status'.status()"}}
|
||||||
```
|
```
|
||||||
`data` is a global variable in this example.
|
`data` is a global variable in this example.
|
||||||
|
|
||||||
|
@ -263,7 +263,7 @@ Global option used locally overwrites the global, for example:
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
options = {
|
options = {
|
||||||
icons_enabled = 1, -- displays icons in alongside component
|
icons_enabled = true, -- displays icons in alongside component
|
||||||
padding = 1, -- adds padding to the left and right of components
|
padding = 1, -- adds padding to the left and right of components
|
||||||
left_padding = 1, -- adds padding to the left of components
|
left_padding = 1, -- adds padding to the left of components
|
||||||
right_padding =1, -- adds padding to the right of components
|
right_padding =1, -- adds padding to the right of components
|
||||||
|
@ -385,7 +385,7 @@ sections = {
|
||||||
symbols = {added = '+', modified = '~', removed = '-'} -- changes diff symbols
|
symbols = {added = '+', modified = '~', removed = '-'} -- changes diff symbols
|
||||||
source = nil, -- A function that works as a data source for diff.
|
source = nil, -- A function that works as a data source for diff.
|
||||||
-- it must return a table like
|
-- it must return a table like
|
||||||
{added = add_count, modified = modified_count, removed = removed_count }
|
-- {added = add_count, modified = modified_count, removed = removed_count }
|
||||||
-- Or nil on failure. Count <= 0 won't be displayed.
|
-- Or nil on failure. Count <= 0 won't be displayed.
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,7 +5,7 @@ All available themes are only best effort ports by myself/ other users. If you f
|
||||||
### auto
|
### auto
|
||||||
auto is a special theme. It will automaticaly load theme for your colorscheme.
|
auto is a special theme. It will automaticaly load theme for your colorscheme.
|
||||||
If there's no theme available for your colorscheme then
|
If there's no theme available for your colorscheme then
|
||||||
it'll it's best to generate one.
|
it'll try it's best to generate one.
|
||||||
|
|
||||||
### 16color
|
### 16color
|
||||||
<p>
|
<p>
|
||||||
|
|
|
@ -169,7 +169,7 @@ You can use any valid lua expression as a component including
|
||||||
* global variables
|
* global variables
|
||||||
* require statements
|
* require statements
|
||||||
>
|
>
|
||||||
sections = {lualine_c = {"os.data('%a')", 'data', require'lsp-status'.status}}
|
sections = {lualine_c = {"os.date('%a')", 'data', require'lsp-status'.status}}
|
||||||
|
|
||||||
`data` is a global variable in this example.
|
`data` is a global variable in this example.
|
||||||
|
|
||||||
|
@ -308,7 +308,7 @@ Component specific local options~
|
||||||
symbols = {added = '+', modified = '~', removed = '-'} -- changes diff symbols
|
symbols = {added = '+', modified = '~', removed = '-'} -- changes diff symbols
|
||||||
source = nil, -- A function that works as a data source for diff.
|
source = nil, -- A function that works as a data source for diff.
|
||||||
-- it must return a table like
|
-- it must return a table like
|
||||||
{added = add_count, modified = modified_count, removed = removed_count }
|
-- {added = add_count, modified = modified_count, removed = removed_count }
|
||||||
-- Or nil on failure. Count <= 0 won't be displayed.
|
-- Or nil on failure. Count <= 0 won't be displayed.
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue