mise++
This commit is contained in:
parent
6471e799a8
commit
931e9d4aee
93 changed files with 6881 additions and 8 deletions
11
vim/plugins/vim-elixir-master/compiler/credo.vim
Normal file
11
vim/plugins/vim-elixir-master/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
|
25
vim/plugins/vim-elixir-master/compiler/exunit.vim
Normal file
25
vim/plugins/vim-elixir-master/compiler/exunit.vim
Normal file
|
@ -0,0 +1,25 @@
|
|||
if exists("current_compiler")
|
||||
finish
|
||||
endif
|
||||
let current_compiler = "exunit"
|
||||
|
||||
if exists(":CompilerSet") != 2 " older Vim always used :setlocal
|
||||
command -nargs=* CompilerSet setlocal <args>
|
||||
endif
|
||||
|
||||
let s:cpo_save = &cpo
|
||||
set cpo-=C
|
||||
CompilerSet makeprg=mix\ test
|
||||
CompilerSet errorformat=
|
||||
\%E\ \ %n)\ %m,
|
||||
\%+G\ \ \ \ \ **\ %m,
|
||||
\%+G\ \ \ \ \ stacktrace:,
|
||||
\%C\ \ \ \ \ %f:%l,
|
||||
\%+G\ \ \ \ \ \ \ (%\\w%\\+)\ %f:%l:\ %m,
|
||||
\%+G\ \ \ \ \ \ \ %f:%l:\ %.%#,
|
||||
\**\ (%\\w%\\+)\ %f:%l:\ %m
|
||||
|
||||
let &cpo = s:cpo_save
|
||||
unlet s:cpo_save
|
||||
|
||||
" vim: nowrap sw=2 sts=2 ts=8:
|
16
vim/plugins/vim-elixir-master/compiler/mix.vim
Normal file
16
vim/plugins/vim-elixir-master/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
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue