diff options
Diffstat (limited to 'after/syntax')
-rw-r--r-- | after/syntax/javascript.vim | 2 | ||||
-rw-r--r-- | after/syntax/jsx_pretty.vim | 2 | ||||
-rw-r--r-- | after/syntax/typescript.vim | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/after/syntax/javascript.vim b/after/syntax/javascript.vim index 27818b58..1d2064b5 100644 --- a/after/syntax/javascript.vim +++ b/after/syntax/javascript.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 diff --git a/after/syntax/jsx_pretty.vim b/after/syntax/jsx_pretty.vim index bc98202a..f37a084b 100644 --- a/after/syntax/jsx_pretty.vim +++ b/after/syntax/jsx_pretty.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 diff --git a/after/syntax/typescript.vim b/after/syntax/typescript.vim index f39d755f..df500404 100644 --- a/after/syntax/typescript.vim +++ b/after/syntax/typescript.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 |