Skip to content

Groveer/plantuml.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

plantuml.nvim

This Neovim plugin allows using PlantUML to render diagrams in real time.

This plugin supports different renderers to display PlantUML's output. Currently, the following renderers are implemented:

  • text renderer: An ASCII art renderer using PlantUML's text output.
  • imv renderer: Using the imv image viewer.

Installation

Install with packer:

use { 'https://gitlab.com/itaranto/plantuml.nvim', tag = '*' }

Dependencies

To use this plugin, you'll need PlantUML installed. If using the imv renderer, you'll need to have imv as well.

You should be able to install any of these with your system's package manager, for example, on Arch Linux:

sudo pacman -S plantuml imv

Configuration

To use the default configuration, do:

require("plantuml").setup()

The default values are:

local _config = {
  renderer = 'imv',
}

Alternatively, you can change some of the settings:

require("plantuml").setup({ renderer = 'text' })

Usage

Open any file with the .puml extension and then write it. A new window will be opened with the resulting diagram.

Contributing

"If your commit message sucks, I'm not going to accept your pull request."

About

Render PlantUML diagrams with Neovim.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages