2019-03-04 03:28:35 -05:00
|
|
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'elixir') != -1
|
|
|
|
finish
|
|
|
|
endif
|
|
|
|
|
2018-06-05 16:50:18 -04:00
|
|
|
if exists('current_compiler')
|
|
|
|
finish
|
|
|
|
endif
|
|
|
|
let current_compiler = 'credo'
|
|
|
|
|
|
|
|
if exists(":CompilerSet") != 2
|
|
|
|
command -nargs=* CompilerSet setlocal <args>
|
|
|
|
endif
|
|
|
|
|
|
|
|
CompilerSet errorformat=%f:%l:\ %t:\ %m
|
|
|
|
CompilerSet makeprg=mix\ credo\ suggest\ --format=flycheck
|