Gabirel/Hack-SpaceVim

IDE for Elixir Developer

chvanikoff opened this issue · 4 comments

That would be super awesome to get process of setting up SpaceVim for Elixir development documented.

I start to wirte some tutorials which force on usage and language support. and my current work is on java and python tutor. and I will add elixir tutor too.

as I know, Hack SpaceVim force on the installtion of SpaceVim and it's layers.

Thanks for the update @wsdjeg , I created this issue because I've found a few similar in this repo for JAVA and C IDEs, so I thought it's the right place for this.

yeah,I know , :)

Requirements

Installation

Install Elixir

Please consider reading the official documents when you need to install elixir: Install Elixir

Here are some quick installation instructions:

macOS:

brew install elixir

Arch:

sudo pacman -S elixir

Fedora:

sudo dnf install elixir

Ubuntu:
Please read the official document: https://elixir-lang.org/install.html#unix-and-unix-like

Install SpaceVim/layer/Elixir

Documents about elixir in SpaceVim: https://spacevim.org/layers/lang/elixir/

Init.vim

Add this line below into your init.vim

call SpaceVim#layers#load('lang#elixir')

Init.toml

Add this line below into your init.toml

[[layers]]
  name = "lang#elixir"

Autocompletion

You may want to use autocompletion engine, such as deoplete and YouCompleteMe