parent
b7cf506785
commit
cf75e1af5a
|
@ -637,7 +637,7 @@ extensions = {'quickfix'}
|
||||||
You can define your own extensions. If you think an extension might be useful for others then please submit a pr.
|
You can define your own extensions. If you think an extension might be useful for others then please submit a pr.
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
local my_extension = {sections = {lualine_a = 'mode'}, filetypes = {'lua'}}
|
local my_extension = {sections = {lualine_a = {'mode'}}, filetypes = {'lua'}}
|
||||||
require'lualine'.setup {extensions = {my_extension}}
|
require'lualine'.setup {extensions = {my_extension}}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -666,7 +666,7 @@ Custom extensions You can define your own extensions. If
|
||||||
|
|
||||||
|
|
||||||
>
|
>
|
||||||
local my_extension = {sections = {lualine_a = 'mode'}, filetypes = {'lua'}}
|
local my_extension = {sections = {lualine_a = {'mode'}}, filetypes = {'lua'}}
|
||||||
require'lualine'.setup {extensions = {my_extension}}
|
require'lualine'.setup {extensions = {my_extension}}
|
||||||
<
|
<
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue