about summary refs log tree commit diff
path: root/configs/shared/emacs/.emacs.d/wpc/packages/wpc-elixir.el
blob: fd3c178ebae8837fce950f084c867edf73a58e1a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
;;; wpc-elixir.el --- Elixir / Erland configuration -*- lexical-binding: t -*-
;; Author: William Carroll <wpcarro@gmail.com>

;;; Commentary:
;; My preferences for working with Elixir / Erlang projects

;;; Code:
(use-package elixir-mode
  :config
  (general-add-hook 'elixir-mode-hook
                    (lambda ()
                      (add-hook 'before-save-hook #'elixir-format nil t))))

(provide 'wpc-elixir)
;;; wpc-elixir.el ends here