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