nix-community.nixvim/plugins/by-name/diagram/default.nix
2025-03-20 15:58:36 +01:00

30 lines
622 B
Nix

{ lib, ... }:
lib.nixvim.plugins.mkNeovimPlugin {
name = "diagram";
packPathName = "diagram.nvim";
package = "diagram-nvim";
maintainers = [ lib.maintainers.GaetanLepage ];
settingsExample = {
integrations = [
{ __raw = "require('diagram.integrations.markdown')"; }
{ __raw = "require('diagram.integrations.neorg')"; }
];
renderer_options = {
mermaid = {
theme = "forest";
};
plantuml = {
charset = "utf-8";
};
d2 = {
theme_id = 1;
};
gnuplot = {
theme = "dark";
size = "800,600";
};
};
};
}