mirror of
https://github.com/cap153/nvim.git
synced 2025-12-27 03:34:57 +08:00
25 lines
567 B
Lua
25 lines
567 B
Lua
-- ===
|
|
-- === 底部状态栏
|
|
-- ===
|
|
return {
|
|
"nvim-lualine/lualine.nvim",
|
|
dependencies = {
|
|
"nvim-tree/nvim-web-devicons",
|
|
},
|
|
opts = {
|
|
options = {
|
|
theme = "catppuccin",
|
|
always_divide_middle = false,
|
|
component_separators = { left = "", right = "" },
|
|
section_separators = { left = "", right = "" },
|
|
},
|
|
sections = {
|
|
lualine_a = { "mode" },
|
|
lualine_b = { "branch", "diff", "diagnostics" },
|
|
lualine_c = { "lsp_status" },
|
|
lualine_x = {},
|
|
lualine_y = { "encoding", "fileformat", "progress" },
|
|
lualine_z = { "location" },
|
|
},
|
|
},
|
|
}
|