summaryrefslogtreecommitdiffstats
path: root/compiler/credo.vim
blob: 5fdc99ab7b41dd019f77cdf2f149d53abfa4b962 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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 <args>
endif

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