diff options
-rw-r--r-- | shoshimacs.el | 14 | ||||
-rw-r--r-- | shoshimacs.org | 19 |
2 files changed, 31 insertions, 2 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) diff --git a/shoshimacs.org b/shoshimacs.org index 89394da..ce54658 100644 --- a/shoshimacs.org +++ b/shoshimacs.org @@ -581,6 +581,7 @@ which has a command to show prefix key continuations. :header-args:emacs-lisp: :noweb-ref editing :noweb-sep "\n\n" :results silent :END: ** [[info:emacs#Matching][electric pair mode]] + I've been using smartparens -> (bookmark-jump "smartparens package") in my main config. electric pair mode does some of what smartparens does out of the box. what i'm missing is the generalized ~sp-hybrid-slurp~ or @@ -632,7 +633,8 @@ this seems to be required to fontify source blocks (org-babel-do-load-languages 'org-babel-load-languages '((emacs-lisp . t) - (shell . t))) + (shell . t) + (plantuml . t))) #+end_src *** org-tree-slide @@ -749,6 +751,21 @@ elpa. however, at the moment i must install from source: (define-key flymake-mode-map (kbd "M-p") 'flymake-goto-prev-error)) #+end_src +** PlantUML + +#+begin_src emacs-lisp + (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) +#+end_src + * Projects :PROPERTIES: :header-args:emacs-lisp: :noweb-ref projects :noweb-sep "\n\n" :results silent |