summaryrefslogtreecommitdiffstats
path: root/compiler
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2019-09-04 15:44:43 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2019-09-04 15:44:43 +0200
commit664aa988f6d9cdb7b75218666fbe348c85ef8b29 (patch)
tree306173199576430e6133a1ed137bd80bbc2fb01b /compiler
parent3ddca5da461ebfaa82104f82e3cbf19d1c326ade (diff)
downloadvim-polyglot-664aa988f6d9cdb7b75218666fbe348c85ef8b29.tar.gz
vim-polyglot-664aa988f6d9cdb7b75218666fbe348c85ef8b29.zip
Update
Diffstat (limited to 'compiler')
-rw-r--r--compiler/credo.vim2
-rw-r--r--compiler/mix.vim9
-rw-r--r--compiler/rustc.vim6
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)