fix README.md typos (#914)
Co-authored-by: Adrian Costin <adrianc@synopsys.com>
This commit is contained in:
parent
599e477fe4
commit
36b3e39bd3
|
@ -368,7 +368,7 @@ options = {
|
||||||
-- at bottom of neovim instead of one for every window).
|
-- at bottom of neovim instead of one for every window).
|
||||||
-- This feature is only available in neovim 0.7 and higher.
|
-- This feature is only available in neovim 0.7 and higher.
|
||||||
|
|
||||||
refresh = { -- sets how often lualine should refreash it's contents (in ms)
|
refresh = { -- sets how often lualine should refresh it's contents (in ms)
|
||||||
statusline = 1000, -- The refresh option sets minimum time that lualine tries
|
statusline = 1000, -- The refresh option sets minimum time that lualine tries
|
||||||
tabline = 1000, -- to maintain between refresh. It's not guarantied if situation
|
tabline = 1000, -- to maintain between refresh. It's not guarantied if situation
|
||||||
winbar = 1000 -- arises that lualine needs to refresh itself before this time
|
winbar = 1000 -- arises that lualine needs to refresh itself before this time
|
||||||
|
@ -611,7 +611,7 @@ sections = {
|
||||||
modified = '[+]', -- Text to show when the file is modified.
|
modified = '[+]', -- Text to show when the file is modified.
|
||||||
readonly = '[-]', -- Text to show when the file is non-modifiable or readonly.
|
readonly = '[-]', -- Text to show when the file is non-modifiable or readonly.
|
||||||
unnamed = '[No Name]', -- Text to show for unnamed buffers.
|
unnamed = '[No Name]', -- Text to show for unnamed buffers.
|
||||||
newfile = '[New]', -- Text to show for new created file before first writting
|
newfile = '[New]', -- Text to show for newly created file before first write
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -764,7 +764,7 @@ inactive_winbar = {
|
||||||
```
|
```
|
||||||
Just like statusline you can separately specify winbar for active and inactive
|
Just like statusline you can separately specify winbar for active and inactive
|
||||||
windows. Any lualine component can be placed in winbar. All kinds of custom
|
windows. Any lualine component can be placed in winbar. All kinds of custom
|
||||||
components supported in statusline are also suported for winbar too. In general
|
components supported in statusline are also supported for winbar too. In general
|
||||||
You can treat winbar as another lualine statusline that just appears on top
|
You can treat winbar as another lualine statusline that just appears on top
|
||||||
of windows instead of at bottom.
|
of windows instead of at bottom.
|
||||||
|
|
||||||
|
@ -898,7 +898,7 @@ Note that you need to call this after the setup
|
||||||
```lua
|
```lua
|
||||||
require('lualine').hide({
|
require('lualine').hide({
|
||||||
place = {'statusline', 'tabline', 'winbar'}, -- The segment this change applies to.
|
place = {'statusline', 'tabline', 'winbar'}, -- The segment this change applies to.
|
||||||
unhide = false, -- whether to reenable lualine again/
|
unhide = false, -- whether to re-enable lualine again/
|
||||||
})
|
})
|
||||||
```
|
```
|
||||||
The arguments show for hide above are default values.
|
The arguments show for hide above are default values.
|
||||||
|
|
Loading…
Reference in New Issue