forked from colonelpanic/dotfiles
Add puml-mode for PlantUML
This commit is contained in:
parent
3c0cfc4279
commit
cd3bb99e86
@ -3064,6 +3064,29 @@ crux-reopen-as-root-mode makes it so that any file owned by root will automatica
|
|||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package slack)
|
(use-package slack)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
**** puml-mode
|
||||||
|
This mode seems to be better maintained than plantuml-mode
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(use-package puml-mode
|
||||||
|
:after org
|
||||||
|
:mode ("\\.puml\\'" "\\.plantuml\\'")
|
||||||
|
:preface
|
||||||
|
(if (equal system-type 'darwin)
|
||||||
|
(let* ((plantuml-dir
|
||||||
|
(s-trim (shell-command-to-string "brew --prefix plantuml")))
|
||||||
|
(filename
|
||||||
|
(--first (s-ends-with? ".jar" it) (directory-files plantuml-dir))))
|
||||||
|
(setq puml-plantuml-jar-path (imalison:join-paths plantuml-dir filename))))
|
||||||
|
:config
|
||||||
|
(progn
|
||||||
|
(add-to-list
|
||||||
|
'org-src-lang-modes '("plantuml" . puml))))
|
||||||
|
#+END_SRC
|
||||||
|
**** wsd-mode
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(use-package wsd-mode
|
||||||
|
:commands (wsd-mode))
|
||||||
|
#+END_SRC
|
||||||
** Other
|
** Other
|
||||||
*** anzu
|
*** anzu
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
@ -3476,11 +3499,6 @@ This is useful with server mode when editing gmail messages. I think that it is
|
|||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package floobits)
|
(use-package floobits)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
*** wsd-mode
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
|
||||||
(use-package wsd-mode
|
|
||||||
:commands (wsd-mode))
|
|
||||||
#+END_SRC
|
|
||||||
*** libmpdee
|
*** libmpdee
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package libmpdee)
|
(use-package libmpdee)
|
||||||
|
Loading…
Reference in New Issue
Block a user