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