Skip to content

elixir compiler

Zeioth edited this page Oct 4, 2023 · 19 revisions

It order to use Compiler.nvim with elixir, you must initialize your project directory with mix my-proj-name.

screenshot_2023-10-04_19-22-38_175228509

Then you will be able to use it

screenshot_2023-10-04_19-31-16_886148270

Example of using Run REPL:

screenshot_2023-10-04_19-27-28_744174013

Considerations

  • Mix run require you to :cd the directory of your elixir project before first.
  • Run this file can only run single file scripts. It can't resolve dependencies. But it don't require creating a mix project.

Clone this wiki locally