summaryrefslogtreecommitdiffstats
path: root/compiler/mix.vim
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/mix.vim')
-rw-r--r--compiler/mix.vim6
1 files changed, 2 insertions, 4 deletions
diff --git a/compiler/mix.vim b/compiler/mix.vim
index 17762815..a771ed15 100644
--- a/compiler/mix.vim
+++ b/compiler/mix.vim
@@ -1,7 +1,4 @@
-if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'elixir') != -1
- finish
-endif
-
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'elixir') == -1
if exists('current_compiler')
finish
endif
@@ -18,3 +15,4 @@ CompilerSet errorformat=
\%E==\ Compilation\ error\ in\ file\ %f\ ==,
\%C**\ (%\\w%\\+)\ %f:%l:\ %m,%Z
+endif