return { "nvim-lualine/lualine.nvim", opts = { options = { icons_enabled = false, -- globalstatus = true component_separators = { left = "|", right = "|" }, section_separators = { left = "", right = "" }, }, winbar = {}, sections = { lualine_a = { { "mode", fmt = function(str) return str:sub(1, 1) end, }, }, lualine_b = { { "filename", file_status = true, newfile_status = false, path = 1, -- 0: Just the filename -- 1: Relative path -- 2: Absolute path -- 3: Absolute path, with tilde as the home directory -- 4: Filename and parent dir, with tilde as the home directory shorting_target = 120, symbols = { modified = "[+]", -- Text to show when the file is modified. readonly = "[-]", -- Text to show when the file is non-modifiable or readonly. unnamed = "[No Name]", -- Text to show for unnamed buffers. newfile = "[New]", -- Text to show for newly created file before first write }, }, }, lualine_c = {}, lualine_x = { "branch", "diff", "diagnostics" }, lualine_y = { "location" }, lualine_z = { "filetype" }, }, }, }