summaryrefslogtreecommitdiffstats
path: root/syntax/groovy.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/groovy.vim')
-rw-r--r--syntax/groovy.vim6
1 files changed, 2 insertions, 4 deletions
diff --git a/syntax/groovy.vim b/syntax/groovy.vim
index 25dcf68a..2182bd3e 100644
--- a/syntax/groovy.vim
+++ b/syntax/groovy.vim
@@ -1,7 +1,4 @@
-if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'groovy') != -1
- finish
-endif
-
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'groovy') == -1
" Vim syntax file
" Language: Groovy
" Maintainer: Alessio Pace <billy.corgan@tiscali.it>
@@ -452,3 +449,4 @@ endif
let b:spell_options="contained"
" vim: ts=8
+endif