summaryrefslogtreecommitdiffstats
path: root/indent/groovy.vim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--indent/groovy.vim6
1 files changed, 2 insertions, 4 deletions
diff --git a/indent/groovy.vim b/indent/groovy.vim
index 3143239e..0f1bafd7 100644
--- a/indent/groovy.vim
+++ b/indent/groovy.vim
@@ -1,7 +1,4 @@
-if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'groovy-indent') != -1
- finish
-endif
-
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'groovy-indent') == -1
" Vim indent file
" Language: Groovy
" Maintainer: Toby Allsopp <toby.allsopp@peace.com> (resigned)
@@ -165,3 +162,4 @@ function GetGroovyIndent()
endfunction
" vi: sw=2 et
+endif