mirror of
https://github.com/cap153/nvim.git
synced 2025-12-26 19:25:01 +08:00
格式化
This commit is contained in:
parent
35292c0845
commit
8e6d327b49
1 changed files with 18 additions and 16 deletions
|
|
@ -6,20 +6,22 @@ return {
|
|||
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", "progress" },
|
||||
lualine_z = { "location" },
|
||||
},
|
||||
},
|
||||
config = function()
|
||||
require("lualine").setup({
|
||||
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", "progress" },
|
||||
lualine_z = { "location" },
|
||||
},
|
||||
})
|
||||
end,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue