Files
2025-05-01 23:32:42 +02:00

40 lines
1.1 KiB
Lua

--- @type LazyPluginSpec
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,
}