diff options
Diffstat (limited to 'indent/tsx.vim')
-rw-r--r-- | indent/tsx.vim | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/indent/tsx.vim b/indent/tsx.vim index 906ee222..d6ab43a2 100644 --- a/indent/tsx.vim +++ b/indent/tsx.vim @@ -1,7 +1,4 @@ -if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'typescript') != -1 - finish -endif - +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1 " Save the current JavaScript indentexpr. let b:tsx_ts_indentexpr = &indentexpr @@ -112,3 +109,4 @@ fu! GetTsxIndent() return ind endfu +endif |