Neovim helper for working with PlantUML files.
- Generate
.puml
file on save and serve preview onlocalhost:8000
- Nvim (only tested on
0.8
) - Python3
- Docker
- Docker img (
docker pull ghcr.io/zapling/plantuml-docker:latest
)
-- packer.nvim
use {'zapling/plantuml.nvim', requires = {'nvim-lua/plenary.nvim'}}
require('plantuml').setup({
tmp_dir = '/tmp/plantuml_nvim'
})
:Plantuml
to start the watcher, saving a .puml
will now generate file and serve it
:Plantuml stop
will stop the watcher