/plantuml

vim plugin for plantuml

Primary LanguageVimL

Vim PlantUML Syntax/Plugin/FTDetect

This is a vim syntax file for PlantUML.

The filetype will be set to plantuml for *.pu, *.uml or *.plantuml files or if the first line of a file contains @startuml.

Install

  1. 编辑.vimrc 增加如下

Bundle 'https://github.com/dolfly/plantuml.git'

  1. 执行安装
vim
<ESC> #切换到命令行模式
:BundleInstall 

Example

vim test.uml
...type some code
<ESC> #切换到命令行模式
:make

Then you will see test.svg