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

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