Skip to content

Instantly share code, notes, and snippets.

@lbolla
Created May 9, 2015 07:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lbolla/c989096bbc0ba31bb834 to your computer and use it in GitHub Desktop.
Save lbolla/c989096bbc0ba31bb834 to your computer and use it in GitHub Desktop.
(flycheck-define-checker erlang-dialyzer
"Erlang syntax checker based on dialyzer."
:command ("dialyzer" source-original)
:error-patterns
((error line-start
(file-name)
":"
line
":"
(message)
line-end))
:modes erlang-mode)
(add-to-list 'flycheck-checkers 'erlang-dialyzer t)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment