nix-community.nixvim/plugins/by-name/diagram/default.nix
osbm a41559f093
Some checks are pending
Publish every Git push to main to FlakeHub / flakehub-publish (push) Waiting to run
Publish every git push to Flakestry / publish-flake (push) Waiting to run
Documentation / Version info (push) Waiting to run
Documentation / Build (push) Blocked by required conditions
Documentation / Combine builds (push) Blocked by required conditions
Documentation / Deploy (push) Blocked by required conditions
treewide: add plugin descriptions
2025-06-24 06:10:11 +00:00

31 lines
741 B
Nix

{ lib, ... }:
lib.nixvim.plugins.mkNeovimPlugin {
name = "diagram";
packPathName = "diagram.nvim";
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";
};
};
};
}