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