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