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-43-23_014772045

Example of using Run REPL

screenshot_2023-10-04_19-27-28_744174013

Considerations

  • Mix run require you to :cd your project root dir before using it.
  • Run this file does elixir -r current_file. You don't need to initialize a mix project to use this option. So use it as playground along with Run REPL.
  • Remember you can open the terminal and run any other available mix commands when you need them.