doomemacs/modules/lang/elixir
2020-07-22 19:05:48 -06:00
..
config.el Update config.el 2020-07-22 19:05:48 -06:00
packages.el Bump :lang elixir 2020-06-17 14:23:11 -04:00
README.org Update README to point to new elixir-ls org 2020-05-11 11:17:23 -06: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 :checkers syntax 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 (:checkers syntax, using flycheck-credo~)