removed diagrams

This commit is contained in:
root 2026-04-02 22:16:31 +00:00
parent 45c688cc12
commit 068177ebeb
1 changed files with 40 additions and 41 deletions

View File

@ -1140,47 +1140,46 @@ require('lazy').setup({
end, end,
}, },
{ -- {
"3rd/diagram.nvim", -- "3rd/diagram.nvim",
dependencies = { -- dependencies = {
{ "3rd/image.nvim", opts = {} }, -- you'd probably want to configure image.nvim manually instead of doing this -- { "3rd/image.nvim", opts = {} }, -- you'd probably want to configure image.nvim manually instead of doing this
}, -- },
opts = { -- you can just pass {}, defaults below -- opts = { -- you can just pass {}, defaults below
events = { -- events = {
render_buffer = { "InsertLeave", "BufWinEnter", "TextChanged" }, -- render_buffer = { "InsertLeave", "BufWinEnter", "TextChanged" },
clear_buffer = {"BufLeave"}, -- clear_buffer = {"BufLeave"},
}, -- },
renderer_options = { -- renderer_options = {
mermaid = { -- mermaid = {
background = nil, -- nil | "transparent" | "white" | "#hex" -- background = nil, -- nil | "transparent" | "white" | "#hex"
theme = nil, -- nil | "default" | "dark" | "forest" | "neutral" -- theme = nil, -- nil | "default" | "dark" | "forest" | "neutral"
scale = 1, -- nil | 1 (default) | 2 | 3 | ... -- scale = 1, -- nil | 1 (default) | 2 | 3 | ...
width = nil, -- nil | 800 | 400 | ... -- width = nil, -- nil | 800 | 400 | ...
height = nil, -- nil | 600 | 300 | ... -- height = nil, -- nil | 600 | 300 | ...
cli_args = nil, -- nil | { "--no-sandbox" } | { "-p", "/path/to/puppeteer" } | ... -- cli_args = nil, -- nil | { "--no-sandbox" } | { "-p", "/path/to/puppeteer" } | ...
}, -- },
plantuml = { -- plantuml = {
charset = nil, -- charset = nil,
cli_args = nil, -- nil | { "-Djava.awt.headless=true" } | ... -- cli_args = nil, -- nil | { "-Djava.awt.headless=true" } | ...
}, -- },
d2 = { -- d2 = {
theme_id = nil, -- theme_id = nil,
dark_theme_id = nil, -- dark_theme_id = nil,
scale = nil, -- scale = nil,
layout = nil, -- layout = nil,
sketch = nil, -- sketch = nil,
cli_args = nil, -- nil | { "--pad", "0" } | ... -- cli_args = nil, -- nil | { "--pad", "0" } | ...
}, -- },
gnuplot = { -- gnuplot = {
size = nil, -- nil | "800,600" | ... -- size = nil, -- nil | "800,600" | ...
font = nil, -- nil | "Arial,12" | ... -- font = nil, -- nil | "Arial,12" | ...
theme = nil, -- nil | "light" | "dark" | custom theme string -- theme = nil, -- nil | "light" | "dark" | custom theme string
cli_args = nil, -- nil | { "-p" } | { "-c", "config.plt" } | ... -- cli_args = nil, -- nil | { "-p" } | { "-c", "config.plt" } | ...
}, -- },
} -- }
}, -- },
}, -- },
{ {
'TrevorS/uuid-nvim', 'TrevorS/uuid-nvim',