This is a breaking change! Update your :popup settings. Old ones will throw errors! Doom's new popup management system casts off its shackles (hur hur) and replaces them with the monster that is `display-buffer-alist`, and window parameters. However, this is highly experimental! Expect edge cases. Particularly with org-mode and magit (or anything that does its own window management). Relevant to #261, #263, #325
18 lines
628 B
EmacsLisp
18 lines
628 B
EmacsLisp
;;; lang/plantuml/config.el -*- lexical-binding: t; -*-
|
|
|
|
(def-package! plantuml-mode
|
|
:mode "\\.p\\(lant\\)?uml$"
|
|
:config
|
|
(setq plantuml-jar-path (concat doom-etc-dir "plantuml.jar"))
|
|
(set! :popup "^\\*PLANTUML" '((size . 0.4)) '((select) (transient . 0)))
|
|
|
|
(unless (executable-find "java")
|
|
(warn "plantuml-mode: can't find java, preview disabled."))
|
|
(unless (file-exists-p plantuml-jar-path)
|
|
(warn "plantuml-mode: can't find plantuml.jar; run M-x +plantuml/install.")))
|
|
|
|
|
|
(def-package! flycheck-plantuml
|
|
:when (featurep! :feature syntax-checker)
|
|
:after plantuml-mode
|
|
:config (flycheck-plantuml-setup))
|