From 55b8652ce0432c165f311650b6f7c6bac6b47a67 Mon Sep 17 00:00:00 2001 From: Joost Agterhoek Date: Wed, 9 Jul 2025 14:06:12 +0200 Subject: [PATCH] diagram working --- lua/plugins/diagram.lua | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 lua/plugins/diagram.lua diff --git a/lua/plugins/diagram.lua b/lua/plugins/diagram.lua new file mode 100644 index 0000000..cd4568d --- /dev/null +++ b/lua/plugins/diagram.lua @@ -0,0 +1,21 @@ +return { + "3rd/diagram.nvim", + dependencies = { + "3rd/image.nvim", + }, + opts = {}, + config = function() + require("diagram").setup({ + integrations = { + require("diagram.integrations.markdown"), + require("diagram.integrations.neorg"), + renderer_options = { + mermaid = { + background = "#hex", + theme = "default", +} + } + } +}) + end +}