Skip to content

rockneurotiko/ex-fmt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

Elixir Formatter on Emacs

Right now the library is not on MELPA, so you can do something like this:

  • Clone this repository where you want

  • Add this to your configuration

(defun ex-fmt-load ()
    (add-to-list 'load-path "~/path/ex-fmt")
    (load-file "/full/path/ex-fmt/ex-fmt.el")
    (require 'ex-fmt)

    ;; Optional, if you want to use always an specific mix version
    (setq ex-fmt-mix "/path/to/your/elixir/1.7/bin/mix")

    (add-hook 'after-save-hook #'ex-fmt-after-save))

(ex-fmt-load)

Now when you save some elixir file it will be auto formatted.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages