From 43e452b64994bff7390cacba86d7c000a3308fcf Mon Sep 17 00:00:00 2001 From: Taken Date: Mon, 28 Apr 2025 13:21:50 +0200 Subject: [PATCH] Moved to cord.nvim for discord --- lua/taken/plugins/cord.lua | 31 +++++++++++++++++++++++++++++++ lua/taken/plugins/neocord.lua | 1 + 2 files changed, 32 insertions(+) create mode 100644 lua/taken/plugins/cord.lua diff --git a/lua/taken/plugins/cord.lua b/lua/taken/plugins/cord.lua new file mode 100644 index 0000000..113b3b5 --- /dev/null +++ b/lua/taken/plugins/cord.lua @@ -0,0 +1,31 @@ +---@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", + }, + buttons = { + { + label = "Neovim", + url = "https://neovim.io", + }, + { + label = function(opts) + return opts.workspace + end, + url = function(opts) + return opts.repo_url + end, + }, + }, + }) + end, +} diff --git a/lua/taken/plugins/neocord.lua b/lua/taken/plugins/neocord.lua index 05be793..981c76c 100644 --- a/lua/taken/plugins/neocord.lua +++ b/lua/taken/plugins/neocord.lua @@ -1,6 +1,7 @@ --- @type LazyPluginSpec return { "IogaMaster/neocord", + enabled = false, config = function() local neocord = require("neocord")