return { 'nvim-lualine/lualine.nvim', dependencies = { 'nvim-tree/nvim-web-devicons', 'Isrothy/lualine-diagnostic-message', }, config = function() require('lualine').setup({ options = { theme = 'auto', disabled_filetypes = { statusline = {}, winbar = { 'dap-repl', 'dapui_console' }, }, section_separators = { left = '', right = '' }, component_separators = { left = '', right = '' }, }, globalstatus = true, extensions = { 'oil', 'toggleterm' }, sections = { lualine_b = { 'branch', 'diff', { 'diagnostics', symbols = { error = ' ', warn = ' ', info = ' ', hint = ' ', }, sources = { 'nvim_diagnostic' }, }, }, lualine_c = { { 'getcwd', }, { function() return require('nvim-navic').get_location() end, cond = function() return package.loaded['nvim-navic'] and require('nvim-navic').is_available() end, }, }, lualine_y = { 'searchcount', 'progress', }, }, inactive_sections = { lualine_c = { 'getcwd', { 'filename', path = 1, file_status = true, }, }, }, }) end, enabled = true, }