summaryrefslogtreecommitdiffstats
path: root/compiler/mix.vim
diff options
context:
space:
mode:
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