summaryrefslogtreecommitdiffstats
path: root/syntax/eelixir.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/eelixir.vim')
-rw-r--r--syntax/eelixir.vim8
1 files changed, 4 insertions, 4 deletions
diff --git a/syntax/eelixir.vim b/syntax/eelixir.vim
index febb8e8a..bd7f8611 100644
--- a/syntax/eelixir.vim
+++ b/syntax/eelixir.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("b:current_syntax")
finish
endif
@@ -67,5 +69,3 @@ endif
let &cpo = s:cpo_save
unlet s:cpo_save
-
-endif