kickstart.nvim/lua/custom/plugins/diagram.lua.off

27 lines
491 B
Plaintext
Raw Normal View History

2025-03-18 13:03:54 +01:00
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 = {
theme = 'forest',
},
plantuml = {
charset = 'utf-8',
},
d2 = {
theme_id = 1,
},
},
}
end,
}