From 1f34e0adcfb54b45760d7570d4c270a939daa03b Mon Sep 17 00:00:00 2001 From: Dan Reif Date: Tue, 5 Jun 2018 13:50:18 -0700 Subject: Update (periodic rebuild) --- compiler/credo.vim | 15 +++++++++++++++ compiler/mix.vim | 15 +++++++++++++++ compiler/nim.vim | 2 +- 3 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 compiler/credo.vim create mode 100644 compiler/mix.vim (limited to 'compiler') diff --git a/compiler/credo.vim b/compiler/credo.vim new file mode 100644 index 00000000..e656a230 --- /dev/null +++ b/compiler/credo.vim @@ -0,0 +1,15 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'elixir') == -1 + +if exists('current_compiler') + finish +endif +let current_compiler = 'credo' + +if exists(":CompilerSet") != 2 + command -nargs=* CompilerSet setlocal +endif + +CompilerSet errorformat=%f:%l:\ %t:\ %m +CompilerSet makeprg=mix\ credo\ suggest\ --format=flycheck + +endif diff --git a/compiler/mix.vim b/compiler/mix.vim new file mode 100644 index 00000000..ec88dd5c --- /dev/null +++ b/compiler/mix.vim @@ -0,0 +1,15 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'elixir') == -1 + +if exists('current_compiler') + finish +endif +let current_compiler = 'mix' + +if exists(":CompilerSet") != 2 + command -nargs=* CompilerSet setlocal +endif + +CompilerSet errorformat=%A%t%*[^:]:\ %m,%C%f:%l:\ %m,%C%f:%l,%Z +CompilerSet makeprg=mix + +endif diff --git a/compiler/nim.vim b/compiler/nim.vim index c47dad0b..4b1bd0e8 100644 --- a/compiler/nim.vim +++ b/compiler/nim.vim @@ -13,7 +13,7 @@ endif let s:cpo_save = &cpo set cpo-=C -CompilerSet makeprg=nim\ c\ --verbosity:0\ $*\ %:p +CompilerSet makeprg=nim\ c\ --verbosity:0\ --listfullpaths\ $*\ %:p CompilerSet errorformat= \%-GHint:\ %m, -- cgit v1.2.3