doomemacs/modules/lang/plantuml/doctor.el

14 lines
541 B
EmacsLisp
Raw Normal View History

2018-03-20 21:19:37 -04:00
;; -*- 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"))
;; graphviz
(unless (executable-find "dot")
(warn! "Couldn't find dot. PlantUML will only show outputs for sequence and activity diagrams"))
;; plantuml.jar
(unless (file-exists-p plantuml-jar-path)
(warn! "Couldn't find plantuml.jar. Install it with M-x plantuml-download-jar")))