D2 for Zed
io.github.d2lang/d2
Look up D2 syntax, render diagrams locally, and review animations with storyboards and motion lint.
client:Zed
transport:stdio
runtime:pypi
Install D2 in Zed
~/.config/zed/settings.json · windows: %APPDATA%\Zed\settings.json
{
"context_servers": {
"d2": {
"command": "uvx",
"args": [
"d2lang"
]
}
}
}
Merge this into your existing settings object — do not replace the file. Zed docs