https://github.com/terrastruct/d2-vim
The Vim plugin for D2 files
https://github.com/terrastruct/d2-vim
diagram diagramming diagrams
Last synced: about 1 year ago
JSON representation
The Vim plugin for D2 files
- Host: GitHub
- URL: https://github.com/terrastruct/d2-vim
- Owner: terrastruct
- License: bsd-3-clause
- Created: 2022-10-17T19:01:25.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-05-03T08:35:27.000Z (about 2 years ago)
- Last Synced: 2025-06-22T01:42:47.370Z (about 1 year ago)
- Topics: diagram, diagramming, diagrams
- Language: Vim Script
- Homepage: https://d2-lang.com
- Size: 27.3 KB
- Stars: 82
- Watchers: 2
- Forks: 9
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
The Vim plugin for [D2](https://d2lang.com) files.
## Install
```vim
" Using https://github.com/junegunn/vim-plug
Plug 'terrastruct/d2-vim'
```
## Documentation
See `:help d2-vim` or [./doc/d2.txt](./doc/d2.txt) for options and additional documentation.
```d2
x -> y
# d2-vim can syntax highlight nested markdown correctly.
y: |`md
# d2-vim
The Vim plugin for [D2](https://d2lang.com) files.
`|
```