summaryrefslogtreecommitdiffstats
path: root/compiler
diff options
context:
space:
mode:
authorDan Reif <35710107+CH-DanReif@users.noreply.github.com>2018-06-05 14:18:09 -0700
committerGitHub <noreply@github.com>2018-06-05 14:18:09 -0700
commitd362dca9b3373c2ddc8526eaa80b02bfaa274c7d (patch)
tree3016d45f4f2714937790a989be8adda3fe942ae3 /compiler
parenta26134de3c09f9725667e14e7073a701bcff4e19 (diff)
parent1f34e0adcfb54b45760d7570d4c270a939daa03b (diff)
downloadvim-polyglot-d362dca9b3373c2ddc8526eaa80b02bfaa274c7d.tar.gz
vim-polyglot-d362dca9b3373c2ddc8526eaa80b02bfaa274c7d.zip
Merge pull request #315 from sheerun/periodic_rebuild_20180605
Update (periodic rebuild)
Diffstat (limited to 'compiler')
-rw-r--r--compiler/credo.vim15
-rw-r--r--compiler/mix.vim15
-rw-r--r--compiler/nim.vim2
3 files changed, 31 insertions, 1 deletions
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 <args>
+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 <args>
+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,