summaryrefslogtreecommitdiffstats
path: root/ftplugin/racket.vim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ftplugin/racket.vim8
1 files changed, 4 insertions, 4 deletions
diff --git a/ftplugin/racket.vim b/ftplugin/racket.vim
index 14ebdb7c..84d6ddaa 100644
--- a/ftplugin/racket.vim
+++ b/ftplugin/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
@@ -59,5 +61,3 @@ nnoremap <buffer> <f9> :!racket -t %<cr>
"setl commentstring=;;%s
setl commentstring=#\|\ %s\ \|#
-
-endif