diff --git a/lua/plugins/lualine.lua b/lua/plugins/lualine.lua index 53545b0..a099fff 100644 --- a/lua/plugins/lualine.lua +++ b/lua/plugins/lualine.lua @@ -3,27 +3,84 @@ return { dependencies = { 'kyazdani42/nvim-web-devicons' }, config = { options = { - theme = 'gruvbox-material', + theme = 'material', disabled_filetypes = { statusline = {}, winbar = { 'dap-repl', 'dapui_console' }, }, }, - sections = { lualine_c = { 'getcwd', { 'filename', path = 1, file_status = true } } }, - inactive_sections = { lualine_c = { 'getcwd', { 'filename', path = 1, file_status = true } } }, + extensions = { 'aerial' }, + 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, winbar = { lualine_a = {}, lualine_b = {}, - lualine_c = { { 'filename', path = 1, file_status = true } }, - lualine_x = {}, + lualine_c = { + { + '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_z = {} }, inactive_winbar = { lualine_a = {}, 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_y = {}, lualine_z = {}