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