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 +}