Mercurial > ec-dotfiles
changeset 671:b7929dbc5bfe
Correct type for tsx
author | nanaya <me@nanaya.pro> |
---|---|
date | Tue, 05 Apr 2022 13:51:43 +0900 |
parents | d40ab65fd460 |
children | 2febdacae5b4 |
files | rc/vimrc |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/rc/vimrc Sat Dec 11 19:04:08 2021 +0900 +++ b/rc/vimrc Tue Apr 05 13:51:43 2022 +0900 @@ -122,7 +122,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=typescript + autocmd BufNewFile,BufRead *.tsx set filetype=typescriptreact autocmd BufRead,BufNewFile *.nginx set ft=nginx autocmd BufRead,BufNewFile */etc/nginx/* set ft=nginx