Update lualine theme

This commit is contained in:
Shockwave 2024-11-16 20:22:51 +08:00
parent 805f5e761e
commit bf1acd5ec2
1 changed files with 13 additions and 13 deletions

View File

@ -1,15 +1,15 @@
local ok, lualine = pcall(require, 'lualine')
local ok, lualine = pcall(require, "lualine")
if not ok then
print('lualine load error')
vim.notify("lualine load error")
return
end
lualine.setup {
options = {
icons_enabled = true,
theme = 'solarized_dark',
component_separators = { left = '', right = ''},
section_separators = { left = '', right = ''},
theme = "auto",
component_separators = { left = "", right = ""},
section_separators = { left = "", right = ""},
disabled_filetypes = {
statusline = {},
winbar = {},
@ -26,19 +26,19 @@ lualine.setup {
},
sections = {
lualine_a = {'mode'},
lualine_b = {'branch', 'diff', 'diagnostics'},
lualine_c = {'filename'},
lualine_x = {'encoding', 'fileformat', 'filetype'},
lualine_y = {'progress'},
lualine_z = {'location'}
lualine_a = {"mode"},
lualine_b = {"branch", "diff", "diagnostics"},
lualine_c = {"filename"},
lualine_x = {"encoding", "fileformat", "filetype"},
lualine_y = {"progress"},
lualine_z = {"location"}
},
inactive_sections = {
lualine_a = {},
lualine_b = {},
lualine_c = {'filename'},
lualine_x = {'location'},
lualine_c = {"filename"},
lualine_x = {"location"},
lualine_y = {},
lualine_z = {}
},