We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0754395 + a2db0cb commit 4dc79bdCopy full SHA for 4dc79bd
ftdetect/typescript.vim
@@ -1 +1,4 @@
1
-autocmd BufNewFile,BufRead *.ts,*.tsx setlocal filetype=typescript
+" use `set filetype` to override default filetype=xml for *.ts files
2
+autocmd BufNewFile,BufRead *.ts set filetype=typescript
3
+" use `setfiletype` to not override any other plugins like ianks/vim-tsx
4
+autocmd BufNewFile,BufRead *.tsx setfiletype typescript
0 commit comments