diff options
author | Dan Reif <dan.reif@collectivehealth.com> | 2018-06-05 13:50:18 -0700 |
---|---|---|
committer | Dan Reif <dan.reif@collectivehealth.com> | 2018-06-05 13:50:18 -0700 |
commit | 1f34e0adcfb54b45760d7570d4c270a939daa03b (patch) | |
tree | 3016d45f4f2714937790a989be8adda3fe942ae3 /compiler | |
parent | a26134de3c09f9725667e14e7073a701bcff4e19 (diff) | |
download | vim-polyglot-1f34e0adcfb54b45760d7570d4c270a939daa03b.tar.gz vim-polyglot-1f34e0adcfb54b45760d7570d4c270a939daa03b.zip |
Update (periodic rebuild)
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/credo.vim | 15 | ||||
-rw-r--r-- | compiler/mix.vim | 15 | ||||
-rw-r--r-- | compiler/nim.vim | 2 |
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, |