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