local colors = { black = "#0d0e1c", white = "#ffffff", red = "#ef8386", green = "#88ca9f", blue = "#82b0ec", magenta = "#caa6df", cyan = "#9ac8e0", gray = "#4a4f69", darkgray = "#1d2235", lightgray = "#989898", } local modus_vivendi_tinted = { normal = { a = { bg = colors.blue, fg = colors.black, gui = "bold" }, b = { bg = colors.darkgray, fg = colors.blue }, c = { bg = colors.darkgray, fg = colors.white }, }, insert = { a = { bg = colors.cyan, fg = colors.black, gui = "bold" }, b = { bg = colors.darkgray, fg = colors.cyan }, c = { bg = colors.darkgray, fg = colors.white }, }, visual = { a = { bg = colors.magenta, fg = colors.black, gui = "bold" }, b = { bg = colors.darkgray, fg = colors.magenta }, c = { bg = colors.darkgray, fg = colors.white }, }, replace = { a = { bg = colors.red, fg = colors.black, gui = "bold" }, b = { bg = colors.darkgray, fg = colors.red }, c = { bg = colors.darkgray, fg = colors.white }, }, command = { a = { bg = colors.green, fg = colors.black, gui = "bold" }, b = { bg = colors.darkgray, fg = colors.green }, c = { bg = colors.darkgray, fg = colors.white }, }, inactive = { a = { bg = colors.black, fg = colors.lightgray }, b = { bg = colors.black, fg = colors.lightgray }, c = { bg = colors.black, fg = colors.lightgray }, }, } return { "nvim-lualine/lualine.nvim", opts = { options = { theme = modus_vivendi_tinted, 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, 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 }, }, "encoding", }, lualine_c = {}, lualine_x = {}, lualine_y = { "branch", "diff", "diagnostics" }, lualine_z = { "progress" }, }, }, }