[emacs] Add PlantUML via puml-mode

This commit is contained in:
Correl Roush 2016-05-19 12:58:38 -04:00
parent a178ba5f42
commit 8f37013e59

View file

@ -398,6 +398,25 @@ Configure jedi and company-mode to provide auto-completion for python.
(use-package gnuplot (use-package gnuplot
:ensure t) :ensure t)
#+END_SRC #+END_SRC
*** PlantUML
Install [[https://github.com/skuro/puml-mode][puml-mode]] and alias it as plantuml-mode so it plays nice with
org documents and ob-plantuml.
#+name: programming
#+BEGIN_SRC emacs-lisp
(use-package puml-mode
:ensure t
:mode "\\.plantuml\\'"
:config
(define-derived-mode plantuml-mode
puml-mode "PlantUML Mode"))
#+END_SRC
Don't forget to configure =org-plantuml-jar-path= and
=puml-plantuml-jar-path= to point to a version of plantuml.jar on your
system.
** Tools ** Tools
*** Autocomplete *** Autocomplete
**** Company **** Company