mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-08 11:33:52 -05:00
Enable TypeScript in ftdetect (#496)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user