summaryrefslogtreecommitdiffstats
path: root/compiler/credo.vim
blob: 100abb4eca35f02d42289557ba5b0d75db82ad81 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'elixir') != -1
  finish
endif

if exists('current_compiler')
    finish
endif
let current_compiler = 'credo'

if exists(":CompilerSet") != 2
    command -nargs=* CompilerSet setlocal <args>
endif

CompilerSet errorformat=%f:%l:%c:\ %t:\ %m,%f:%l:\ %t:\ %m
CompilerSet makeprg=mix\ credo\ suggest\ --format=flycheck