This module provides support for Elixir programming language via alchemist.el or elixir-ls.
+lsp
Enable LSP support. Requires elixir-ls.
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
asdf plugin-add elixir
asdf install elixir 1.9.1
sudo pacman -S elixir
sudo emerge -v dev-lang/elixir
sudo zypper install elixir
- Code completion (
:completion company
) - Documentation lookup (
:tools lookup
) - Mix integration
- Phoenix support
iex
integration (:tools eval
)- Syntax checking (
:checkers syntax
, using flycheck-credo~)