summaryrefslogtreecommitdiffstats
path: root/compiler/mix.vim
diff options
context:
space:
mode:
authorDan Reif <dan.reif@collectivehealth.com>2018-06-05 13:50:18 -0700
committerDan Reif <dan.reif@collectivehealth.com>2018-06-05 13:50:18 -0700
commit1f34e0adcfb54b45760d7570d4c270a939daa03b (patch)
tree3016d45f4f2714937790a989be8adda3fe942ae3 /compiler/mix.vim
parenta26134de3c09f9725667e14e7073a701bcff4e19 (diff)
downloadvim-polyglot-1f34e0adcfb54b45760d7570d4c270a939daa03b.tar.gz
vim-polyglot-1f34e0adcfb54b45760d7570d4c270a939daa03b.zip
Update (periodic rebuild)
Diffstat (limited to 'compiler/mix.vim')
-rw-r--r--compiler/mix.vim15
1 files changed, 15 insertions, 0 deletions
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