mirror of
https://github.com/amix/vimrc
synced 2025-07-07 00:15:00 +08:00
Add support for Elixir.
This commit is contained in:
11
sources_non_forked/vim-elixir/compiler/credo.vim
Normal file
11
sources_non_forked/vim-elixir/compiler/credo.vim
Normal file
@ -0,0 +1,11 @@
|
||||
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
|
Reference in New Issue
Block a user