diff options
Diffstat (limited to 'after/ftplugin/javascriptreact.vim')
-rw-r--r-- | after/ftplugin/javascriptreact.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/after/ftplugin/javascriptreact.vim b/after/ftplugin/javascriptreact.vim index e423f0ed..ab847072 100644 --- a/after/ftplugin/javascriptreact.vim +++ b/after/ftplugin/javascriptreact.vim @@ -1,4 +1,4 @@ -if !exists('g:polyglot_disabled') || !(index(g:polyglot_disabled, 'typescript') != -1 || index(g:polyglot_disabled, 'typescript') != -1 || index(g:polyglot_disabled, 'jsx') != -1) +if !exists('g:polyglot_disabled') || (index(g:polyglot_disabled, 'javascript') == -1 && index(g:polyglot_disabled, 'jsx') == -1) source <sfile>:h/javascript.vim |