diff options
Diffstat (limited to 'after/ftplugin')
-rw-r--r-- | after/ftplugin/javascript.vim | 2 | ||||
-rw-r--r-- | after/ftplugin/typescript.vim | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/after/ftplugin/javascript.vim b/after/ftplugin/javascript.vim index 4a6346d9..463b854a 100644 --- a/after/ftplugin/javascript.vim +++ b/after/ftplugin/javascript.vim @@ -14,7 +14,7 @@ if exists('b:undo_ftplugin') else let b:undo_ftplugin = 'setlocal iskeyword< suffixesadd<' endif -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/ftplugin/typescript.vim b/after/ftplugin/typescript.vim index 21da03be..d307f5d4 100644 --- a/after/ftplugin/typescript.vim +++ b/after/ftplugin/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 |