Skip to content

Commit

Permalink
[bot] "documentation_updates" Mon Jul 25 18:38:07 UTC 2022 (syl20bnr#…
Browse files Browse the repository at this point in the history
  • Loading branch information
SpacemacsBot committed Jul 25, 2022
1 parent c5330de commit e1f844a
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions layers/+lang/plantuml/README.org
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
- [[#description][Description]]
- [[#features][Features:]]
- [[#install][Install]]
- [[#execution-modes][Execution modes]]
- [[#org-babel-integration][Org-Babel Integration]]
- [[#key-bindings][Key bindings]]

Expand Down Expand Up @@ -49,22 +50,24 @@ To use this contribution, add it to your =~/.spacemacs=
#+END_SRC

** Execution modes

Configure plantuml-mode to either make use of a =Plantuml= library, executable or server (experimental).

If you want to call your local Plantuml library, set =plantuml-jar-path= and =plantuml-default-exec-mode= as follows:

#+BEGIN_SRC emacs-lisp
(setq-default dotspacemacs-configuration-layers '((plantuml :variables
plantuml-jar-path "~/plantUml.jar"
plantuml-default-exec-mode 'library)))
(setq-default dotspacemacs-configuration-layers '((plantuml :variables
plantuml-jar-path "~/plantUml.jar"
plantuml-default-exec-mode 'library)))
#+END_SRC

For this to work, you need to execute =plantuml-download-jar= to download the most recent =Plantuml= library jar to your home directory.

If instead you want to call your local Plantuml executable (f.e. as installed to path =/usr/bin/plantuml= by your package manager), set =plantuml-executable-path= and =plantuml-default-exec-mode= as follows:

#+BEGIN_SRC emacs-lisp
(setq-default dotspacemacs-configuration-layers '((plantuml :variables
plantuml-executable-path "/usr/bin/plantuml"
plantuml-default-exec-mode 'executable)))
(setq-default dotspacemacs-configuration-layers '((plantuml :variables
plantuml-executable-path "/usr/bin/plantuml"
plantuml-default-exec-mode 'executable)))
#+END_SRC

If instead you don't want to compile locally, you can set =plantuml-exec-mode= to =server=.
Expand Down

0 comments on commit e1f844a

Please sign in to comment.