summaryrefslogtreecommitdiffstats
path: root/syntax/gnuplot.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/gnuplot.vim')
-rw-r--r--syntax/gnuplot.vim6
1 files changed, 2 insertions, 4 deletions
diff --git a/syntax/gnuplot.vim b/syntax/gnuplot.vim
index 632719fd..fd7b559c 100644
--- a/syntax/gnuplot.vim
+++ b/syntax/gnuplot.vim
@@ -1,7 +1,4 @@
-if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'gnuplot') != -1
- finish
-endif
-
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'gnuplot') == -1
" Vim syntax file
" Language: gnuplot 4.7.0
" Maintainer: Andrew Rasmussen andyras@users.sourceforge.net
@@ -556,3 +553,4 @@ endif
let b:current_syntax = "gnuplot"
" vim: ts=8
+endif