From 1f34e0adcfb54b45760d7570d4c270a939daa03b Mon Sep 17 00:00:00 2001 From: Dan Reif Date: Tue, 5 Jun 2018 13:50:18 -0700 Subject: Update (periodic rebuild) --- compiler/credo.vim | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 compiler/credo.vim (limited to 'compiler/credo.vim') diff --git a/compiler/credo.vim b/compiler/credo.vim new file mode 100644 index 00000000..e656a230 --- /dev/null +++ b/compiler/credo.vim @@ -0,0 +1,15 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'elixir') == -1 + +if exists('current_compiler') + finish +endif +let current_compiler = 'credo' + +if exists(":CompilerSet") != 2 + command -nargs=* CompilerSet setlocal +endif + +CompilerSet errorformat=%f:%l:\ %t:\ %m +CompilerSet makeprg=mix\ credo\ suggest\ --format=flycheck + +endif -- cgit v1.2.3