mirror of
https://github.com/elkowar/dots-of-war.git
synced 2025-02-20 04:12:14 +00:00
34 lines
819 B
Lua
34 lines
819 B
Lua
|
return {
|
||
|
{
|
||
|
"nvim-lualine/lualine.nvim",
|
||
|
opts = function(_, opts)
|
||
|
-- needed to not override lazyvim's options for the sections
|
||
|
local opts = vim.tbl_deep_extend("force", opts, {
|
||
|
options = {
|
||
|
component_separators = { left = "│", right = "│" },
|
||
|
section_separators = { left = " ", right = " " },
|
||
|
},
|
||
|
sections = {
|
||
|
lualine_y = {
|
||
|
{ "location", padding = { left = 0, right = 1 } }
|
||
|
},
|
||
|
lualine_z = {},
|
||
|
},
|
||
|
tabline = {
|
||
|
lualine_b = {
|
||
|
{
|
||
|
"buffers",
|
||
|
mode = 2,
|
||
|
max_length = 999999,
|
||
|
use_mode_colors = true,
|
||
|
padding = { left = 1, right = 1 }
|
||
|
}
|
||
|
},
|
||
|
}
|
||
|
})
|
||
|
|
||
|
return opts
|
||
|
end
|
||
|
}
|
||
|
}
|