Flycheck PlantUML Integration

about | blog | config | notes | github

1. Integrate Flycheck with PlantUML

This project adds Flycheck Syntax Checking when in plantuml-mode. It will automatically check syntax of your files and highlight errors as they appear.

2. Configuration

2.1. Dependency Setup

As this package makes use of both Flycheck Syntax Checking and PlantUML, let's ensure both of those modules are in fact setup.

(require 'init-plantuml)
(require 'init-flycheck)

2.2. Package Install

(use-package flycheck-plantuml
  :after (flycheck plantuml))

Set the executable path

(setq flycheck-plantuml-executable "plantuml")

Now make sure to enable flycheck-plantuml!

(flycheck-plantuml-setup)

2.3. Feature Provide

(provide 'init-flycheck-plantuml)

Created: 2021-11-13

Emacs 26.1 (Org mode 9.5)