1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 02:20:03 +08:00
SpaceVim/docs/layers/lang/plantuml.md

58 lines
1.2 KiB
Markdown
Raw Normal View History

---
title: "SpaceVim lang#plantuml layer"
2019-02-03 20:51:01 +08:00
description: "This layer is for PlantUML development, syntax highlighting for PlantUML file."
---
# [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)
<!-- vim-markdown-toc -->
## Description
2019-02-03 20:51:01 +08:00
This layer is for PlantUML development.
## Features
- Syntax highlighting
- Inline previews
## Install
### Layer
To use this configuration layer, update custom configuration file with:
```toml
[[layers]]
name = "lang#plantuml"
```
2020-09-05 11:05:27 +08:00
## Configuration
When you want to see picture which plantuml draw, you need to set
plantuml_jar_path. You should find or install plantuml.jar in
your system.
Then you give the path to `plantuml_jar_path`. see below.
This is just example.
```toml
[[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.