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