summaryrefslogtreecommitdiffstats
path: root/syntax/gmpl.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/gmpl.vim')
-rw-r--r--syntax/gmpl.vim8
1 files changed, 4 insertions, 4 deletions
diff --git a/syntax/gmpl.vim b/syntax/gmpl.vim
index 2b8d7128..9eb26f8f 100644
--- a/syntax/gmpl.vim
+++ b/syntax/gmpl.vim
@@ -1,5 +1,7 @@
-if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'gmpl') == -1
-
+if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'gmpl') != -1
+ finish
+endif
+
" Vim syntax file
" Language: GMPL
" Maintainer: Mark Mba Wright
@@ -118,5 +120,3 @@ hi def link gmplType Type
hi def link gmplLabel Keyword
hi def link gmplString String
hi def link gmplStringToken Special
-
-endif