summaryrefslogtreecommitdiffstats
path: root/compiler/sbt.vim
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/sbt.vim')
-rw-r--r--compiler/sbt.vim6
1 files changed, 2 insertions, 4 deletions
diff --git a/compiler/sbt.vim b/compiler/sbt.vim
index e5aa4d14..6125bf29 100644
--- a/compiler/sbt.vim
+++ b/compiler/sbt.vim
@@ -1,7 +1,4 @@
-if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'scala') != -1
- finish
-endif
-
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'scala') == -1
" Vim compiler file
" Language: Scala SBT (http://www.scala-sbt.org/)
" Maintainer: Derek Wyatt
@@ -32,3 +29,4 @@ let &cpo = s:cpo_save
unlet s:cpo_save
" vim:set sw=2 sts=2 ts=8 et:
+endif