summaryrefslogtreecommitdiffstats
path: root/autoload/jsx_pretty/comment.vim
diff options
context:
space:
mode:
Diffstat (limited to 'autoload/jsx_pretty/comment.vim')
-rw-r--r--autoload/jsx_pretty/comment.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/jsx_pretty/comment.vim b/autoload/jsx_pretty/comment.vim
index 639e55b9..325baaea 100644
--- a/autoload/jsx_pretty/comment.vim
+++ b/autoload/jsx_pretty/comment.vim
@@ -1,4 +1,4 @@
-if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'jsx') != -1
+if exists('g:polyglot_disabled') && (index(g:polyglot_disabled, 'typescript') != -1 || index(g:polyglot_disabled, 'typescript') != -1 || index(g:polyglot_disabled, 'jsx') != -1)
finish
endif