mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-07 07:44:33 +02:00
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
31 lines
741 B
Nix
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";
|
|
};
|
|
};
|
|
};
|
|
}
|