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 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 your elixir project root dir before using it.
  • Run this file can only run single file scripts and it can't resolve dependencies. But you don't need to create a mix project to use it.
Clone this wiki locally