diff options
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/credo.vim | 2 | ||||
-rw-r--r-- | compiler/mix.vim | 9 | ||||
-rw-r--r-- | compiler/rustc.vim | 6 |
3 files changed, 13 insertions, 4 deletions
diff --git a/compiler/credo.vim b/compiler/credo.vim index 964050ec..100abb4e 100644 --- a/compiler/credo.vim +++ b/compiler/credo.vim @@ -11,5 +11,5 @@ if exists(":CompilerSet") != 2 command -nargs=* CompilerSet setlocal <args> endif -CompilerSet errorformat=%f:%l:\ %t:\ %m +CompilerSet errorformat=%f:%l:%c:\ %t:\ %m,%f:%l:\ %t:\ %m CompilerSet makeprg=mix\ credo\ suggest\ --format=flycheck diff --git a/compiler/mix.vim b/compiler/mix.vim index fe01361f..17762815 100644 --- a/compiler/mix.vim +++ b/compiler/mix.vim @@ -11,5 +11,10 @@ if exists(":CompilerSet") != 2 command -nargs=* CompilerSet setlocal <args> endif -CompilerSet errorformat=%A%t%*[^:]:\ %m,%C%f:%l:\ %m,%C%f:%l,%Z -CompilerSet makeprg=mix +CompilerSet makeprg=mix\ compile +CompilerSet errorformat= + \%Wwarning:\ %m, + \%C%f:%l,%Z, + \%E==\ Compilation\ error\ in\ file\ %f\ ==, + \%C**\ (%\\w%\\+)\ %f:%l:\ %m,%Z + diff --git a/compiler/rustc.vim b/compiler/rustc.vim index 8ef71b67..876dab5a 100644 --- a/compiler/rustc.vim +++ b/compiler/rustc.vim @@ -25,7 +25,11 @@ endif if get(g:, 'rustc_makeprg_no_percent', 0) CompilerSet makeprg=rustc else - CompilerSet makeprg=rustc\ \% + if has('patch-7.4.191') + CompilerSet makeprg=rustc\ \%:S + else + CompilerSet makeprg=rustc\ \% + endif endif " New errorformat (after nightly 2016/08/10) |