summaryrefslogtreecommitdiffstats
path: root/compiler/credo.vim
blob: e39c6b7c7906201b2e63b92bc934e3526ce754a2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
if !polyglot#util#IsEnabled('elixir', expand('<sfile>:p'))
  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