40 lines
1.3 KiB
Lua
40 lines
1.3 KiB
Lua
return {
|
|
'nvim-lualine/lualine.nvim',
|
|
dependencies = {'nvim-tree/nvim-web-devicons'},
|
|
config = function()
|
|
local iceberg = require('lualine.themes.iceberg_dark')
|
|
iceberg.normal.c.bg = nil
|
|
iceberg.inactive.c.bg = nil
|
|
require('lualine').setup {
|
|
options = {
|
|
theme = iceberg,
|
|
component_separators = '',
|
|
section_separators = {left = '', right = ''}
|
|
},
|
|
sections = {
|
|
lualine_a = {
|
|
{'mode', separator = {left = ''}, right_padding = 2}
|
|
},
|
|
lualine_b = {'filename', 'branch'},
|
|
lualine_c = {
|
|
'%=' --[[ add your center compoentnts here in place of this comment ]]
|
|
},
|
|
lualine_x = {},
|
|
lualine_y = {'filetype', 'progress'},
|
|
lualine_z = {
|
|
{'location', separator = {right = ''}, left_padding = 2}
|
|
}
|
|
},
|
|
inactive_sections = {
|
|
lualine_a = {'filename'},
|
|
lualine_b = {},
|
|
lualine_c = {},
|
|
lualine_x = {},
|
|
lualine_y = {},
|
|
lualine_z = {'location'}
|
|
},
|
|
tabline = {},
|
|
extensions = {}
|
|
}
|
|
end
|
|
}
|