1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-16 23:42:47 +01:00
nixvim/plugins/by-name/diagram/default.nix
saygo-png c4b27080a6 treewide: infer packPathName menial work
Signed-off-by: saygo-png <saygo.mail@proton.me>
2025-09-27 23:49:59 +00:00

30 lines
708 B
Nix

{ lib, ... }:
lib.nixvim.plugins.mkNeovimPlugin {
name = "diagram";
package = "diagram-nvim";
description = "A Neovim plugin for rendering diagrams, powered by [image.nvim](https://github.com/3rd/image.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";
};
};
};
}