Simplify the folder structure

This commit is contained in:
Maciej 2019-07-16 21:53:58 +03:00
parent fca83b0b97
commit 6ba7c2fa33
Signed by: maciej
GPG key ID: 41D62D42D3B0D765
17 changed files with 99 additions and 87 deletions

22
languages/elixir.el Normal file
View file

@ -0,0 +1,22 @@
(use-package alchemist
:requires (ruby-end-mode)
:ensure t)
(defun activate-elixir-mode ()
"All things Elixir."
(set-indent 2)
(column-enforce-n 80)
;; Company list override
(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)
;; Eex Web mode
(add-to-list 'auto-mode-alist '("\\.eex\\'" . web-mode))
(setq web-mode-extra-auto-pairs
'(("eex" . (("<%" "%>")))
))