2023-11-30 15:21:17 +08:00
|
|
|
require 'lualine'.setup {
|
|
|
|
options = {
|
|
|
|
icons_enabled = true,
|
2023-11-30 20:53:07 +08:00
|
|
|
theme = 'gruvbox-material',
|
2023-11-30 16:04:04 +08:00
|
|
|
component_separators = { left = "", right = "|" },
|
|
|
|
section_separators = "",
|
2023-11-30 15:21:17 +08:00
|
|
|
disabled_filetypes = {}
|
|
|
|
},
|
|
|
|
sections = {
|
|
|
|
lualine_a = { 'mode' },
|
|
|
|
lualine_b = {
|
|
|
|
'branch',
|
|
|
|
},
|
|
|
|
lualine_c = {
|
2023-11-30 16:04:04 +08:00
|
|
|
{ 'filename', path = 1 },
|
2023-11-30 15:21:17 +08:00
|
|
|
'diff',
|
|
|
|
},
|
|
|
|
lualine_x = { 'encoding', 'fileformat', 'filetype' },
|
|
|
|
lualine_y = { 'progress' },
|
|
|
|
lualine_z = { 'location' }
|
|
|
|
},
|
|
|
|
inactive_sections = {
|
|
|
|
lualine_a = {},
|
|
|
|
lualine_b = {},
|
|
|
|
lualine_c = { 'filename' },
|
|
|
|
lualine_x = { 'location' },
|
|
|
|
lualine_y = {},
|
|
|
|
lualine_z = {}
|
|
|
|
},
|
|
|
|
-- Tabline is broken, disable for now.
|
|
|
|
-- tabline = {
|
|
|
|
-- lualine_a = {'buffers'},
|
|
|
|
-- lualine_b = {},
|
|
|
|
-- lualine_c = {},
|
|
|
|
-- lualine_x = {},
|
|
|
|
-- lualine_y = {},
|
|
|
|
-- lualine_z = {'tabs'}
|
|
|
|
-- },
|
|
|
|
extensions = {}
|
2021-09-07 23:26:21 +08:00
|
|
|
}
|