mirror of
https://github.com/amix/vimrc
synced 2025-07-05 23:44:59 +08:00
Add support for Elixir.
This commit is contained in:
16
sources_non_forked/vim-elixir/compiler/mix.vim
Normal file
16
sources_non_forked/vim-elixir/compiler/mix.vim
Normal file
@ -0,0 +1,16 @@
|
||||
if exists('current_compiler')
|
||||
finish
|
||||
endif
|
||||
let current_compiler = 'mix'
|
||||
|
||||
if exists(":CompilerSet") != 2
|
||||
command -nargs=* CompilerSet setlocal <args>
|
||||
endif
|
||||
|
||||
CompilerSet makeprg=mix\ compile
|
||||
CompilerSet errorformat=
|
||||
\%Wwarning:\ %m,
|
||||
\%C%f:%l,%Z,
|
||||
\%E==\ Compilation\ error\ in\ file\ %f\ ==,
|
||||
\%C**\ (%\\w%\\+)\ %f:%l:\ %m,%Z
|
||||
|
Reference in New Issue
Block a user