some lualine fixes

This commit is contained in:
Oliver Hartmann 2024-06-16 23:53:33 +02:00
parent 92001c6537
commit 5e902d667b

View File

@ -5,9 +5,10 @@ return {
'Isrothy/lualine-diagnostic-message', 'Isrothy/lualine-diagnostic-message',
}, },
config = function() config = function()
vim.opt.laststatus = 3
require('lualine').setup({ require('lualine').setup({
options = { options = {
theme = 'bamboo', theme = 'auto',
disabled_filetypes = { disabled_filetypes = {
statusline = {}, statusline = {},
winbar = { 'dap-repl', 'dapui_console' }, winbar = { 'dap-repl', 'dapui_console' },
@ -15,7 +16,7 @@ return {
section_separators = { left = '', right = '' }, section_separators = { left = '', right = '' },
}, },
globalstatus = true, globalstatus = true,
extensions = { 'aerial', 'oil', 'toggleterm' }, extensions = { 'oil', 'toggleterm' },
sections = { sections = {
lualine_b = { lualine_b = {
'branch', 'branch',
@ -52,6 +53,7 @@ return {
path = 0, path = 0,
file_status = true, file_status = true,
separator = { left = '', right = '' }, separator = { left = '', right = '' },
color = { fg = '#000000', bg = '#ff9966', gui='bold' },
}, },
}, },
lualine_b = { lualine_b = {
@ -80,6 +82,7 @@ return {
path = 0, path = 0,
file_status = true, file_status = true,
separator = { left = '', right = '' }, separator = { left = '', right = '' },
color = { fg = '#000000', bg = '#8fb573' },
}, },
}, },
lualine_b = { lualine_b = {