mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-09 12:03:53 -05:00
Enable TypeScript in ftdetect (#496)
This commit is contained in:
@@ -640,6 +640,7 @@ if index(g:polyglot_disabled, 'twig') == -1
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
if index(g:polyglot_disabled, 'typescript') == -1
|
if index(g:polyglot_disabled, 'typescript') == -1
|
||||||
|
au BufNewFile,BufRead *.ts set ft=typescript
|
||||||
au BufNewFile,BufRead *.tsx set ft=typescriptreact
|
au BufNewFile,BufRead *.tsx set ft=typescriptreact
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user