vim: small tweak to status line
This commit is contained in:
parent
0dd6508519
commit
d990886087
1 changed files with 21 additions and 21 deletions
|
@ -131,21 +131,21 @@ local inactive_sections = {
|
||||||
lualine_a = {},
|
lualine_a = {},
|
||||||
lualine_b = { parts.visual_multi },
|
lualine_b = { parts.visual_multi },
|
||||||
lualine_c = { parts.branch, parts.diff, parts.split, parts.path },
|
lualine_c = { parts.branch, parts.diff, parts.split, parts.path },
|
||||||
lualine_x = { 'diagnostics', parts.filetype, parts.fileformat, parts.progress },
|
lualine_x = { 'diagnostics', parts.filetype },
|
||||||
lualine_y = { parts.location },
|
lualine_y = { parts.fileformat, parts.progress },
|
||||||
lualine_z = {},
|
lualine_z = { parts.location },
|
||||||
}
|
}
|
||||||
|
|
||||||
require('lualine').setup {
|
require('lualine').setup {
|
||||||
options = {
|
options = {
|
||||||
icons_enabled = true,
|
icons_enabled = true,
|
||||||
component_separators = { left = '', right = '' },
|
component_separators = { left = '', right = '' },
|
||||||
section_separators = { left = '', right = '' },
|
section_separators = { left = '', right = '' },
|
||||||
theme = 'solarized',
|
theme = 'solarized',
|
||||||
},
|
},
|
||||||
|
|
||||||
sections = vim.tbl_extend('force', inactive_sections, {
|
sections = vim.tbl_extend('force', inactive_sections, {
|
||||||
lualine_a = { parts.mode, parts.paste },
|
lualine_a = { parts.paste, parts.mode },
|
||||||
}),
|
}),
|
||||||
|
|
||||||
inactive_sections = inactive_sections,
|
inactive_sections = inactive_sections,
|
||||||
|
|
Loading…
Add table
Reference in a new issue