Added elixir lang support

This commit is contained in:
Mikhail Stralenia 2017-05-24 13:08:26 +03:00
parent af286043a4
commit f80a2d6707
4 changed files with 20 additions and 0 deletions

View file

@ -72,6 +72,7 @@
crystal ; ruby at the speed of c crystal ; ruby at the speed of c
csharp ; unity, .NET, and mono shenanigans csharp ; unity, .NET, and mono shenanigans
data ; config/data formats data ; config/data formats
elixir ; erlang done right
elm ; care for a cup of TEA? elm ; care for a cup of TEA?
emacs-lisp ; drown in parentheses emacs-lisp ; drown in parentheses
go ; the hipster dialect go ; the hipster dialect

View file

@ -0,0 +1,2 @@
;;; lang/elixir/autoload/elixir.el

View file

@ -0,0 +1,10 @@
;;; lang/elixir/config.el
(def-package! elixir-mode
:mode ("\\.ex$")
:init
(add-hook 'elixir-mode-hook #'turn-off-smartparens-mode)
(add-hook 'elixir-mode-hook #'alchemist)
:config
(set! :company-backend 'elixir-mode '(alchemist-company company-yasnippet)))

View file

@ -0,0 +1,7 @@
;; -*- no-byte-compile: t; -*-
;;; lang/elixir/packages.el
;; +elixir.el
(package! elixir-mode)
(package! alchemist)
(package! ac-alchemist)