mirror of
https://github.com/cap153/nvim.git
synced 2025-12-26 19:25:01 +08:00
37 lines
731 B
Lua
37 lines
731 B
Lua
-- ===
|
|
-- === 底部状态栏
|
|
-- ===
|
|
return {
|
|
"nvim-lualine/lualine.nvim",
|
|
dependencies = {
|
|
"nvim-tree/nvim-web-devicons",
|
|
},
|
|
config = function()
|
|
require("lualine").setup({
|
|
options = {
|
|
always_divide_middle = false,
|
|
component_separators = { left = "", right = "" },
|
|
section_separators = { left = "", right = "" },
|
|
},
|
|
sections = {
|
|
lualine_a = {
|
|
{
|
|
"mode",
|
|
icons_enabled = false,
|
|
color = { fg = "grey" },
|
|
},
|
|
},
|
|
lualine_b = { "branch", "diff", "diagnostics" },
|
|
lualine_c = { "lsp_status" },
|
|
lualine_x = {},
|
|
lualine_y = { "encoding", "progress" },
|
|
lualine_z = {
|
|
{
|
|
"location",
|
|
color = { fg = "grey" },
|
|
},
|
|
},
|
|
},
|
|
})
|
|
end,
|
|
}
|