--- Ensure plugin is avaiable local ok, lualine, lazy_status = pcall(function() return require("lualine"), require("lazy.status") end) if not ok then return end --- Plugin options local opts = { options = { theme = "onedark", }, sections = { lualine_x = { { lazy_status.updates, cond = lazy_status.has_updates, color = { fg = "#ff9e64" }, }, { "encoding" }, { "fileformat" }, { "filetype" }, }, }, } --- Load plugin lualine.setup(opts)