summaryrefslogtreecommitdiffstats
path: root/syntax/gnuplot.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/gnuplot.vim')
-rw-r--r--syntax/gnuplot.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/syntax/gnuplot.vim b/syntax/gnuplot.vim
index f66c87d4..a9cd02ac 100644
--- a/syntax/gnuplot.vim
+++ b/syntax/gnuplot.vim
@@ -1,4 +1,4 @@
-if has_key(g:polyglot_is_disabled, 'gnuplot')
+if polyglot#init#is_disabled(expand('<sfile>:p'), 'gnuplot', 'syntax/gnuplot.vim')
finish
endif