44 lines
1014 B
Lua
44 lines
1014 B
Lua
return {
|
|
'nvim-lualine/lualine.nvim',
|
|
dependencies = {
|
|
'nvim-tree/nvim-web-devicons',
|
|
},
|
|
opts = {
|
|
options = {
|
|
icons_enabled = true,
|
|
theme = 'auto',
|
|
section_separators = { left = '', right = '' },
|
|
disabled_filetypes = {
|
|
statusline = {},
|
|
winbar = {},
|
|
},
|
|
ignore_focus = {},
|
|
always_divide_middle = true,
|
|
globalstatus = false,
|
|
refresh = {
|
|
statusline = 5000,
|
|
tabline = 5000,
|
|
winbar = 5000,
|
|
}
|
|
},
|
|
sections = {
|
|
lualine_a = { { 'mode', separator = { left = '', right = '' }, padding = 0 } },
|
|
lualine_b = { 'branch' },
|
|
lualine_c = { 'diagnostics' },
|
|
lualine_x = {},
|
|
lualine_y = { 'filetype' },
|
|
lualine_z = {{
|
|
'filename',
|
|
path = 3,
|
|
separator = { left = '', right = '' },
|
|
padding = 0,
|
|
shorting_target = 48
|
|
}}
|
|
},
|
|
tabline = {},
|
|
winbar = {},
|
|
inactive_winbar = {},
|
|
extensions = {}
|
|
}
|
|
}
|