Created
March 8, 2016 06:36
-
-
Save aaronjensen/16ee672528bd47bc601b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (with-eval-after-load 'flycheck | |
| (flycheck-define-checker elixir-dialyzer | |
| "Erlang syntax checker based on dialyzer." | |
| :command ("mix" "dialyzer") | |
| :default-directory (lambda () | |
| (locate-dominating-file default-directory "mix.exs")) | |
| :error-patterns | |
| ((error line-start | |
| (file-name) | |
| ":" | |
| line | |
| ":" | |
| (message) | |
| line-end)) | |
| :modes elixir-mode) | |
| (add-to-list 'flycheck-checkers 'elixir-dialyzer t)) | |
| ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment