summaryrefslogtreecommitdiffstats
path: root/compiler/credo.vim
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/credo.vim')
-rw-r--r--compiler/credo.vim8
1 files changed, 4 insertions, 4 deletions
diff --git a/compiler/credo.vim b/compiler/credo.vim
index e656a230..964050ec 100644
--- a/compiler/credo.vim
+++ b/compiler/credo.vim
@@ -1,5 +1,7 @@
-if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'elixir') == -1
-
+if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'elixir') != -1
+ finish
+endif
+
if exists('current_compiler')
finish
endif
@@ -11,5 +13,3 @@ endif
CompilerSet errorformat=%f:%l:\ %t:\ %m
CompilerSet makeprg=mix\ credo\ suggest\ --format=flycheck
-
-endif