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