aboutsummaryrefslogtreecommitdiff
path: root/shoshimacs.el
diff options
context:
space:
mode:
authorGrant Shoshin Shangreaux <shoshin@cicadas.surf>2022-10-17 10:44:28 -0500
committerGrant Shoshin Shangreaux <shoshin@cicadas.surf>2022-10-17 10:49:09 -0500
commit9e114fcfe9e3f34a7e5ad905852c22cf0b283292 (patch)
tree5639c6ac70ce3aa0a9ba821c28cbe5ebc984f72c /shoshimacs.el
parentdab3e02b824d0266d038112e45f1c6502b27cb07 (diff)
Add: plantuml config
Diffstat (limited to 'shoshimacs.el')
-rw-r--r--shoshimacs.el14
1 files changed, 13 insertions, 1 deletions
diff --git a/shoshimacs.el b/shoshimacs.el
index f6c50f6..25d8532 100644
--- a/shoshimacs.el
+++ b/shoshimacs.el
@@ -158,7 +158,8 @@
(org-babel-do-load-languages
'org-babel-load-languages
'((emacs-lisp . t)
- (shell . t)))
+ (shell . t)
+ (plantuml . t)))
(package-install 'org-tree-slide)
@@ -196,6 +197,17 @@
(define-key flymake-mode-map (kbd "M-n") 'flymake-goto-next-error)
(define-key flymake-mode-map (kbd "M-p") 'flymake-goto-prev-error))
+(defvar plantuml-mode-repo "https://github.com/skuro/plantuml-mode")
+(defvar plantuml-mode-src-dir "~/src/plantuml-mode")
+
+(unless (file-directory-p plantuml-mode-src-dir)
+ (shell-command
+ (format "git clone %s %s" plantuml-mode-repo plantuml-mode-src-dir)))
+
+(add-to-list 'load-path plantuml-mode-src-dir)
+(require 'plantuml-mode)
+(customize-set-value 'plantuml-default-exec-mode 'executable)
+
;;; Projects
(fset 'project-prefix-map project-prefix-map)