summaryrefslogtreecommitdiffstats
path: root/indent/racket.vim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--indent/racket.vim8
1 files changed, 4 insertions, 4 deletions
diff --git a/indent/racket.vim b/indent/racket.vim
index fb1d563b..2bbbb6c3 100644
--- a/indent/racket.vim
+++ b/indent/racket.vim
@@ -1,5 +1,7 @@
-if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'racket') == -1
-
+if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'racket') != -1
+ finish
+endif
+
" Language: Racket
" Maintainer: Will Langstroth <will@langstroth.com>
" URL: http://github.com/wlangstroth/vim-racket
@@ -12,5 +14,3 @@ let b:did_indent = 1
setlocal ai nosi
let b:undo_indent = "setl ai< si<"
-
-endif