Enable TypeScript in ftdetect (#496)

This commit is contained in:
Adam Kwiatek
2020-05-29 21:10:18 +02:00
committed by GitHub
parent f0f49cf0fa
commit de38ccabbd

View File

@@ -640,6 +640,7 @@ if index(g:polyglot_disabled, 'twig') == -1
endif
if index(g:polyglot_disabled, 'typescript') == -1
au BufNewFile,BufRead *.ts set ft=typescript
au BufNewFile,BufRead *.tsx set ft=typescriptreact
endif