summaryrefslogtreecommitdiffstats
path: root/ftplugin/tex.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ftplugin/tex.vim')
-rw-r--r--ftplugin/tex.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ftplugin/tex.vim b/ftplugin/tex.vim
index 53b95e3f..17b3e2a7 100644
--- a/ftplugin/tex.vim
+++ b/ftplugin/tex.vim
@@ -1,4 +1,4 @@
-if !polyglot#util#IsEnabled('tex', expand('<sfile>:p'))
+if !has_key(g:polyglot_is_disabled, 'tex')
finish
endif