diff rc/vimrc @ 647:5bd223d5a97f

Use better typescript syntax
author nanaya <me@nanaya.pro>
date Wed, 16 Sep 2020 15:35:25 +0900
parents 7e4b3136f55e
children 2bb0035876b1
line wrap: on
line diff
--- a/rc/vimrc	Wed Sep 16 15:35:09 2020 +0900
+++ b/rc/vimrc	Wed Sep 16 15:35:25 2020 +0900
@@ -119,7 +119,7 @@
   " stolen from https://github.com/leafgarland/typescript-vim/blob/master/ftdetect/typescript.vim
   " use `set filetype` to override default filetype=xml for *.ts files
   autocmd BufNewFile,BufRead *.ts  set filetype=typescript
-  autocmd BufNewFile,BufRead *.tsx set filetype=typescriptreact
+  autocmd BufNewFile,BufRead *.tsx set filetype=typescript
 
   autocmd BufRead,BufNewFile *.nginx set ft=nginx
   autocmd BufRead,BufNewFile */etc/nginx/* set ft=nginx