diagram
URL: https://github.com/3rd/diagram.nvim/
Maintainers: Gaetan Lepage
A Neovim plugin for rendering diagrams, powered by image.nvim.
plugins.diagram.enable
Whether to enable diagram.
Type: boolean
Default:
false
Example:
true
Declared by:
plugins.diagram.package
The diagram package to use.
Type: package
Default:
pkgs.vimPlugins.diagram-nvim
Declared by:
plugins.diagram.autoLoad
Whether to automatically load diagram when neovim starts.
Type: boolean
Default:
false when lazy-loading is enabled.
Example:
false
Declared by:
plugins.diagram.callSetup
Whether to generate the standard require('diagram').setup(...) call for this plugin.
By default, this follows the plugin’s built-in behavior. Set this to false
to disable the generated setup call, or to true to force it even when the
plugin would only call it conditionally.
Type: null or boolean
Default:
null
Declared by:
plugins.diagram.settings
Options provided to the require('diagram').setup function.
Type: lua value
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: