https://github.com/aklt/plantuml-syntax
vim syntax file for plantuml
https://github.com/aklt/plantuml-syntax
plantuml vim-syntax
Last synced: 3 months ago
JSON representation
vim syntax file for plantuml
- Host: GitHub
- URL: https://github.com/aklt/plantuml-syntax
- Owner: aklt
- License: vim
- Created: 2011-04-03T04:55:34.000Z (about 15 years ago)
- Default Branch: master
- Last Pushed: 2024-08-25T22:49:54.000Z (almost 2 years ago)
- Last Synced: 2025-04-04T20:34:50.389Z (about 1 year ago)
- Topics: plantuml, vim-syntax
- Language: Vim Script
- Homepage:
- Size: 147 KB
- Stars: 488
- Watchers: 14
- Forks: 74
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Vim PlantUML Syntax/Plugin/FTDetect
This is a vim syntax file for [PlantUML](http://plantuml.com).
The `filetype` will be set to `plantuml` for `*.pu`, `*.uml`, `*.puml`, `*.iuml` or
`*.plantuml` files or if the first line of a file contains `@startuml`.
Additionally the `makeprg` is set to `plantuml` assuming you have this
executable in your path. This file could contain something like
````sh
#!/bin/bash
java -jar $HOME/lib/java/plantuml.jar -tsvg $@
````
You can change the name of this file by setting `g:plantuml_executable_script`
and disable this feature by setting `g:plantuml_set_makeprg` to `0`.
See examples here: [Plantuml Syntax](https://aklt.github.io/plantuml/).