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