return { 'nvim-lualine/lualine.nvim', event = 'UIEnter', dependencies = { 'nvim-tree/nvim-web-devicons', option = true }, config = function() require('lualine').setup({ options = { theme = 'auto', icons_enabled = true, component_separators = '|', section_separators = '', }, sections = { lualine_a = { { 'mode', icons_enabled = true }, }, lualine_b = { { 'buffers', show_modified_status = true, symbols = { modified = '●', alternate_file = '#', directory = '' }, }, }, lualine_c = { 'branch', { 'diff', colored = false, symbols = { added = ' ', modified = ' ', removed = ' ' } }, { 'diagnostics', sources = { 'nvim_lsp' }, symbols = { error = 'E:', warn = 'W:', info = 'I:', hint = 'H:' }, }, -- shows E/W/H counts }, lualine_x = { { display_components = { 'lsp_client_name', 'spinner', { 'title', 'percentage', 'message' } }, }, }, lualine_y = { { 'encoding', show_bomb = true }, { 'fileformat', symbols = { unix = '', mac = '', dos = '' } }, 'filetype', }, lualine_z = { 'location' }, -- line:col }, extensions = { 'fugitive', 'nvim-tree', 'fzf' }, }) end, }