mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-04-24 20:10:23 +10:00
Updating Doom Emacs.
This commit is contained in:
@@ -9,13 +9,13 @@
|
||||
(set-popup-rule! "^\\*PLANTUML" :size 0.4 :select nil :ttl 0)
|
||||
|
||||
(setq plantuml-default-exec-mode
|
||||
(cond ((executable-find "plantuml") 'executable)
|
||||
((file-exists-p plantuml-jar-path) 'jar)
|
||||
(cond ((file-exists-p plantuml-jar-path) 'jar)
|
||||
((executable-find "plantuml") 'executable)
|
||||
(plantuml-default-exec-mode))))
|
||||
|
||||
|
||||
(use-package! flycheck-plantuml
|
||||
:when (featurep! :tools flycheck)
|
||||
:when (featurep! :checkers syntax)
|
||||
:after plantuml-mode
|
||||
:config (flycheck-plantuml-setup))
|
||||
|
||||
|
||||
@@ -7,4 +7,4 @@
|
||||
(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-x +plantuml/install")))
|
||||
(warn! "Couldn't find plantuml.jar. Install it with M-x plantuml-download-jar")))
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
;; -*- no-byte-compile: t; -*-
|
||||
;;; lang/plantuml/packages.el
|
||||
|
||||
(package! plantuml-mode)
|
||||
(when (featurep! :tools flycheck)
|
||||
(package! flycheck-plantuml))
|
||||
(package! plantuml-mode :pin "ea45a13707")
|
||||
(when (featurep! :checkers syntax)
|
||||
(package! flycheck-plantuml :pin "183be89e1d"))
|
||||
|
||||
;; ob-plantuml is provided by org-plus-contrib
|
||||
|
||||
Reference in New Issue
Block a user