---@diagnostic disable: missing-fields return { "vyfor/cord.nvim", build = ":Cord update", config = function() require("cord").setup({ enabled = true, editor = { tooltip = "The One True Text Editor", }, display = { theme = "catppuccin", flavor = "dark", }, text = { workspace = function(opts) if opts.workspace_dir == vim.env.HOME then return "In Home Directory" end return "In " .. opts.workspace end, }, buttons = { { label = "Neovim", url = "https://neovim.io", }, { label = function(opts) return opts.workspace end, url = function(opts) return opts.repo_url end, }, }, }) end, }