mirror of
https://github.com/kristoferssolo/SoloVim.git
synced 2025-10-21 20:10:41 +00:00
25 lines
602 B
Lua
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" },
|
|
},
|
|
})
|