Files
.emacs.d/modules/siren-plantuml.el
Jim Myhrberg a32cf8b132 Big refactor of modules and their use of use-package
- Make use of use-package's :bind option whenever possible.
- Make use of use-package's :hook option whenever possible.
- Rename and move all mode setup functions into use-package's :init
  step.
- Other minor misc fixes and tweaks to a few modules.
2018-04-20 10:29:45 +01:00

26 lines
602 B
EmacsLisp

;;; siren-plantuml.el --- jimeh's Emacs Siren: plantuml-mode configuration.
;;; Commentary:
;; Basic configuration for plantuml-mode.
;;; Code:
(require 'siren-programming)
(use-package plantuml-mode
:mode "\\.uml\\'"
:hook
(plantuml-mode . siren-plantuml-mode-setup)
:init
(defun siren-plantuml-mode-setup ()
(siren-prog-mode-setup)
(setq tab-width 2
plantuml-jar-path "/usr/local/opt/plantuml/libexec/plantuml.jar")
(highlight-indentation-set-offset 2)
(highlight-indentation-current-column-mode)))
(provide 'siren-plantuml)
;;; siren-plantuml.el ends here