SoloVim/after/plugin/lualine.lua
2023-08-08 17:04:57 +03:00

25 lines
602 B
Lua

local status_ok, lualine = pcall(require, "lualine")
if not status_ok then
return
end
lualine.setup({
options = {
globalstatus = true,
icons_enabled = true,
theme = "auto",
component_separators = { left = "", right = "" },
section_separators = { left = "", right = "" },
disabled_filetypes = { "alpha", "dashboard" },
always_divide_middle = true,
},
sections = {
lualine_a = { "mode" },
lualine_b = { "branch" },
lualine_c = { "diff" },
lualine_x = { "lsp_progress", "diagnostics" },
lualine_y = { "filename" },
lualine_z = { "location", "progress" },
},
})