Disable jsx when ts or js is disabled, closes #414

This commit is contained in:
Adam Stankiewicz
2019-09-04 17:39:23 +02:00
parent e3024f21fc
commit ae18284e5a
15 changed files with 20 additions and 179 deletions

View File

@@ -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