doomemacs/modules/lang/elixir
Henrik Lissner 9b25582be1
Reduce list of root files projectile searches for
And define them on a per-module basis. This reduces the number of file
checks it performs, particularly for non-project files.

Might help #1317
2019-10-19 22:22:49 -04:00
..
config.el Reduce list of root files projectile searches for 2019-10-19 22:22:49 -04:00
packages.el feature/{syntax-checker,spellcheck} -> tools/fly{check,spell} 2019-02-22 00:25:30 -05:00
README.org modules/README: update links & alphabetize 2019-10-07 17:09:52 -04:00

lang/elixir

Description

This module provides support for Elixir programming language via alchemist.el or elixir-ls.

Module flags

  • +lsp Enable LSP support. Requires elixir-ls.

Prerequisites

You should have Elixir installed, for example, via your distribution's package manager or a version management tool such as asdf.

If you want to add support for LSP (:tools lsp), be sure to install elixir-ls and enable :tools lsp in your init.el.

To support linting with credo, add :tools flycheck to your init.el

Install Elixir

With asdf

asdf plugin-add elixir
asdf install elixir 1.9.1

Arch Linux

sudo pacman -S elixir

Gentoo Linux

sudo emerge -v dev-lang/elixir

openSUSE

sudo zypper install elixir

Features

  • Code completion (:completion company)
  • Documentation lookup (:tools lookup)
  • Mix integration
  • Phoenix support
  • iex integration (:tools eval)
  • Syntax checking (:tools flycheck, using flycheck-credo~)