fix(typos): README fixes (#538)

This commit is contained in:
C.D. MacEachern 2022-01-07 10:53:14 -05:00 committed by GitHub
parent 52725d2ca8
commit 98ce91cc5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 3 deletions

View File

@ -91,7 +91,7 @@ You'll also need to have a patched font if you want icons.
Lualine has sections as shown below. Lualine has sections as shown below.
``` ```text
+-------------------------------------------------+ +-------------------------------------------------+
| A | B | C X | Y | Z | | A | B | C X | Y | Z |
+-------------------------------------------------+ +-------------------------------------------------+
@ -99,7 +99,7 @@ Lualine has sections as shown below.
Each sections holds its components e.g. Vim's current mode. Each sections holds its components e.g. Vim's current mode.
#### Configuring lualine in init.vim ### Configuring lualine in init.vim
All the examples below are in lua. You can use the same examples All the examples below are in lua. You can use the same examples
in `.vim` files by wrapping them in lua heredoc like this: in `.vim` files by wrapping them in lua heredoc like this:
@ -198,6 +198,8 @@ lualine defines two kinds of separators:
- `section_separators` - separators between sections - `section_separators` - separators between sections
- `components_separators` - separators between the different components in sections - `components_separators` - separators between the different components in sections
**Note**: if viewing this README in a browser, chances are the characters below will not be visible.
```lua ```lua
options = { options = {
section_separators = { left = '', right = '' }, section_separators = { left = '', right = '' },
@ -291,6 +293,7 @@ sections = { lualine_c = { "os.date('%a')", 'data', "require'lsp-status'.status(
Component options can change the way a component behave. Component options can change the way a component behave.
There are two kinds of options: There are two kinds of options:
- global options affecting all components - global options affecting all components
- local options affecting specific - local options affecting specific
@ -321,7 +324,7 @@ They set behavior of lualine.
Values set here are treated as default for other options Values set here are treated as default for other options
that work in component level. that work in component level.
for example even though `icons_enabled` is a general component option. For example even though `icons_enabled` is a general component option.
you can set `icons_enabled` to `false` and icons will be disabled on all you can set `icons_enabled` to `false` and icons will be disabled on all
component. You can still overwrite defaults set in option table by specifying component. You can still overwrite defaults set in option table by specifying
the option value in component. the option value in component.