diff options
Diffstat (limited to '')
-rw-r--r-- | ftdetect/polyglot.vim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim index 229905ba..39ba7120 100644 --- a/ftdetect/polyglot.vim +++ b/ftdetect/polyglot.vim @@ -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 |