doomemacs/modules/lang/plantuml/doctor.el
Niklas Carlsson bad4dfcd61 Update plantuml doctor prescription
This patch changes the recommendation from +plantuml/install to
plantuml-dowload-jar, when the plantuml.jar can't be found. The command
+plantuml/install has been removed in a previous patch.
2019-12-18 15:33:26 +01:00

11 lines
392 B
EmacsLisp

;; -*- lexical-binding: t; no-byte-compile: t; -*-
;;; lang/plantuml/doctor.el
(when (require 'plantuml-mode nil t)
;; java
(unless (executable-find "java")
(warn! "Couldn't find java. PlantUML preview or syntax checking won't work"))
;; plantuml.jar
(unless (file-exists-p plantuml-jar-path)
(warn! "Couldn't find plantuml.jar. Install it with M-x plantuml-download-jar")))