fancy lualine config

This commit is contained in:
Oliver Hartmann 2023-02-13 21:58:09 +01:00
parent 656ff601a3
commit 7a2c6ecd29

View File

@ -3,27 +3,84 @@ return {
dependencies = { 'kyazdani42/nvim-web-devicons' }, dependencies = { 'kyazdani42/nvim-web-devicons' },
config = { config = {
options = { options = {
theme = 'gruvbox-material', theme = 'material',
disabled_filetypes = { disabled_filetypes = {
statusline = {}, statusline = {},
winbar = { 'dap-repl', 'dapui_console' }, winbar = { 'dap-repl', 'dapui_console' },
}, },
}, },
sections = { lualine_c = { 'getcwd', { 'filename', path = 1, file_status = true } } }, extensions = { 'aerial' },
inactive_sections = { lualine_c = { 'getcwd', { 'filename', path = 1, file_status = true } } }, sections = {
lualine_b = {
'branch',
'diff',
{
'diagnostics',
sources = { 'nvim_diagnostic', 'nvim_lsp' }
}
},
lualine_c = {
'hostname',
'getcwd',
{ 'filename', path = 1, file_status = true }
},
lualine_y = {
'searchcount',
'progress'
},
},
inactive_sections = {
lualine_c = { 'getcwd', { 'filename', path = 1, file_status = true } }
},
globalstatus = true, globalstatus = true,
winbar = { winbar = {
lualine_a = {}, lualine_a = {},
lualine_b = {}, lualine_b = {},
lualine_c = { { 'filename', path = 1, file_status = true } }, lualine_c = {
lualine_x = {}, {
'filename',
path = 0,
file_status = true,
separator = { left = '', right = '' },
-- color = { fg = '#ffaa88', bg = 'grey', gui = 'italic,bold' }
color = { bg = '#aa0000', gui = 'bold' }
}
},
lualine_x = { 'aerial' },
lualine_y = {}, lualine_y = {},
lualine_z = {} lualine_z = {}
}, },
inactive_winbar = { inactive_winbar = {
lualine_a = {}, lualine_a = {},
lualine_b = {}, lualine_b = {},
lualine_c = { { 'filename', path = 1, file_status = true } }, lualine_c = {
{
'filename',
path = 0,
file_status = true,
separator = { left = '', right = '' },
-- color = { fg = '#ffaa88', bg = 'grey', gui = 'italic,bold' }
-- color = { fg = '#ff1111'}
}
},
lualine_x = { 'aerial' },
lualine_y = {},
lualine_z = {}
},
tabline = {
lualine_a = {},
lualine_b = {},
lualine_c = {
{
'tabs',
mode = 2,
tabs_color = {
-- Same values as the general color option can be used here.
active = 'lualine_a_normal', -- Color for active tab.
inactive = 'lualine_a_inactive', -- Color for inactive tab.
},
}
},
lualine_x = {}, lualine_x = {},
lualine_y = {}, lualine_y = {},
lualine_z = {} lualine_z = {}