40 lines
1 KiB
Lua
40 lines
1 KiB
Lua
return {
|
|
"nvim-lualine/lualine.nvim",
|
|
opts = {
|
|
options = {
|
|
theme = "powerline",
|
|
section_separators = "",
|
|
component_separators = "",
|
|
globalstatus = false,
|
|
},
|
|
sections = {
|
|
lualine_c = {
|
|
{
|
|
"diagnostics",
|
|
symbols = {
|
|
error = LazyVim.config.icons.diagnostics.Error,
|
|
warn = LazyVim.config.icons.diagnostics.Warn,
|
|
info = LazyVim.config.icons.diagnostics.Info,
|
|
hint = LazyVim.config.icons.diagnostics.Hint,
|
|
},
|
|
},
|
|
{ "filetype", icon_only = true, separator = "", padding = { left = 1, right = 0 } },
|
|
{ "filename", file_status = true, path = 1 },
|
|
},
|
|
lualine_x = {
|
|
{
|
|
"diff",
|
|
symbols = {
|
|
added = LazyVim.config.icons.git.added,
|
|
modified = LazyVim.config.icons.git.modified,
|
|
removed = LazyVim.config.icons.git.removed,
|
|
},
|
|
},
|
|
},
|
|
lualine_z = {},
|
|
},
|
|
tabline = {
|
|
lualine_a = { "buffers" },
|
|
},
|
|
},
|
|
}
|