return { "nvim-lualine/lualine.nvim", dependencies = { "nvim-tree/nvim-web-devicons" }, config = function() -- Function to show macro recording status local function recording() local reg = vim.fn.reg_recording() if reg ~= "" then return "REC @" .. reg end return "" end require("lualine").setup({ options = { theme = "auto", component_separators = "", section_separators = "", globalstatus = true, }, sections = { lualine_a = { "mode" }, lualine_b = {}, lualine_c = { { "filename", path = 1 }, }, lualine_x = { recording, "diagnostics", }, lualine_y = { "filetype" }, lualine_z = { "location" }, }, inactive_sections = { lualine_a = {}, lualine_b = {}, lualine_c = { "filename" }, lualine_x = {}, lualine_y = {}, lualine_z = {}, }, }) end, }