First version of use-package
This commit is contained in:
parent
42ff73fdd7
commit
fca83b0b97
15 changed files with 214 additions and 197 deletions
|
|
@ -1,4 +1,6 @@
|
|||
(require 'alchemist)
|
||||
(use-package alchemist
|
||||
:requires (ruby-end-mode)
|
||||
:ensure t)
|
||||
|
||||
(defun activate-elixir-mode ()
|
||||
"All things Elixir."
|
||||
|
|
@ -9,9 +11,9 @@
|
|||
(add-to-list (make-local-variable 'company-backends)
|
||||
'(alchemist-company company-yasnippet)))
|
||||
|
||||
(add-hook 'elixir-mode-hook 'alchemist-mode)
|
||||
(add-hook 'alchemist-mode-hook 'activate-elixir-mode)
|
||||
(add-hook 'elixir-mode-hook 'ruby-end-mode)
|
||||
(add-hook 'elixir-mode-hook 'alchemist-mode)
|
||||
|
||||
;; Eex Web mode
|
||||
(add-to-list 'auto-mode-alist '("\\.eex\\'" . web-mode))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue