diagram
URL: https://github.com/3rd/diagram.nvim/
Maintainers: Gaetan Lepage
plugins.diagram.enable
Whether to enable diagram.nvim.
Type: boolean
Default:
false
Example:
true
Declared by:
plugins.diagram.package
The diagram.nvim package to use.
Type: package
Default:
pkgs.vimPlugins.diagram-nvim
Declared by:
plugins.diagram.autoLoad
Whether to automatically load diagram.nvim when neovim starts.
Type: boolean
Default:
false
when lazy-loading is enabled.
Example:
false
Declared by:
plugins.diagram.settings
Options provided to the require('diagram').setup
function.
Type: attribute set of anything
Default:
{ }
Example:
{
integrations = [
{
__raw = "require('diagram.integrations.markdown')";
}
{
__raw = "require('diagram.integrations.neorg')";
}
];
renderer_options = {
d2 = {
theme_id = 1;
};
gnuplot = {
size = "800,600";
theme = "dark";
};
mermaid = {
theme = "forest";
};
plantuml = {
charset = "utf-8";
};
};
}
Declared by: