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