summaryrefslogtreecommitdiffstats
path: root/indent/elixir.vim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--indent/elixir.vim8
1 files changed, 4 insertions, 4 deletions
diff --git a/indent/elixir.vim b/indent/elixir.vim
index 5882565f..b2aa7ea7 100644
--- a/indent/elixir.vim
+++ b/indent/elixir.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:did_indent")
finish
end
@@ -15,5 +17,3 @@ setlocal indentkeys+=*<Return>,=->,=\|>,=<>,0},0],0)
function! elixir#indent(lnum)
return elixir#indent#indent(a:lnum)
endfunction
-
-endif