Hello there,
From what I understand from reading the documentation, with an already setup kitty and using VimPlug (I understood that lazy might not be mandatory for this plugin and the config existed before me knowing about lazy), this should not happen :

For information, the setup looks like this :
--
-- Graph plugin configuration file.
--
require 'nix'
local nix = Nix:new()
-- pathing fix
vim.env['PATH'] = vim.env['PATH'] .. ':' .. nix:path("mermaid-cli", "/bin")
-- Plugin setup
require 'diagram'.setup {
integrations = {
require 'diagram.integrations.markdown'
},
renderer_options = {
mermaid = { theme = "dark", background = "transparent" },
plantuml = { charset = "utf-8" },
d2 = { theme_id = 1, dark_theme_id = 1 },
gnuplot = { theme = "dark", size = "400,200" }
}
}
Don't mind the nix bit, it's just for pathing purposes and making sure mmdc is available on path.
Hello there,
From what I understand from reading the documentation, with an already setup
kittyand using VimPlug (I understood that lazy might not be mandatory for this plugin and the config existed before me knowing about lazy), this should not happen :For information, the setup looks like this :
Don't mind the
nixbit, it's just for pathing purposes and making sure mmdc is available on path.