2018-08-25 21:41:15 +08:00
|
|
|
---
|
|
|
|
title: "SpaceVim lang#plantuml layer"
|
2021-06-21 20:39:29 +08:00
|
|
|
description: "This layer is for PlantUML development, provides syntax highlighting for PlantUML files."
|
2018-08-25 21:41:15 +08:00
|
|
|
---
|
|
|
|
|
|
|
|
# [Available Layers](../../) >> lang#plantuml
|
|
|
|
|
|
|
|
<!-- vim-markdown-toc GFM -->
|
|
|
|
|
|
|
|
- [Description](#description)
|
|
|
|
- [Features](#features)
|
|
|
|
- [Install](#install)
|
|
|
|
- [Layer](#layer)
|
2020-09-05 11:05:27 +08:00
|
|
|
- [Configuration](#configuration)
|
|
|
|
- [Limitation](#limitation)
|
2018-08-25 21:41:15 +08:00
|
|
|
|
|
|
|
<!-- vim-markdown-toc -->
|
|
|
|
|
|
|
|
## Description
|
|
|
|
|
2019-02-03 20:51:01 +08:00
|
|
|
This layer is for PlantUML development.
|
2018-08-25 21:41:15 +08:00
|
|
|
|
|
|
|
## Features
|
|
|
|
|
|
|
|
- Syntax highlighting
|
|
|
|
- Inline previews
|
|
|
|
|
|
|
|
## Install
|
|
|
|
|
|
|
|
### Layer
|
|
|
|
|
2021-06-21 20:39:29 +08:00
|
|
|
To use this configuration layer, update your custom configuration file with:
|
2018-08-25 21:41:15 +08:00
|
|
|
|
|
|
|
```toml
|
|
|
|
[[layers]]
|
|
|
|
name = "lang#plantuml"
|
|
|
|
```
|
2020-09-05 11:05:27 +08:00
|
|
|
|
|
|
|
## Configuration
|
|
|
|
|
2021-06-21 20:39:29 +08:00
|
|
|
When you want to see the picture which plantuml drew, you need to set
|
|
|
|
plantuml_jar_path. You also need to install [plantuml.jar](https://plantuml.com/download) on your system.
|
2020-09-05 11:05:27 +08:00
|
|
|
Then you give the path to `plantuml_jar_path`. see below.
|
|
|
|
|
|
|
|
This is just example.
|
|
|
|
```toml
|
2020-09-05 12:33:58 +08:00
|
|
|
[[layers]]
|
|
|
|
name = "lang#plantuml"
|
2020-09-05 11:05:27 +08:00
|
|
|
plantuml_jar_path = "/usr/share/plantuml/plantuml.jar"
|
|
|
|
```
|
|
|
|
|
|
|
|
### Limitation
|
|
|
|
|
|
|
|
You can't do any opration While you preview the result of plantuml.
|
|
|
|
You write one more part of plantuml diagram, you can not see all
|
|
|
|
picures. You can see first one.
|