Merge pull request #83 from mstralenya/master

Added elixir lang support
This commit is contained in:
Henrik Lissner 2017-05-25 10:48:41 +02:00 committed by GitHub
commit 9517a68bc2
4 changed files with 20 additions and 0 deletions

View file

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