Mercurial > ec-dotfiles
diff rc/vimrc @ 634:ced2ee9efd9f
Update various syntaxes to the ones in vim repo
author | nanaya <me@nanaya.pro> |
---|---|
date | Tue, 17 Dec 2019 20:21:23 +0900 |
parents | f382ac2f585e |
children | 8812b9230a68 |
line wrap: on
line diff
--- a/rc/vimrc Tue Dec 17 20:10:29 2019 +0900 +++ b/rc/vimrc Tue Dec 17 20:21:23 2019 +0900 @@ -117,7 +117,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.tsx + autocmd BufNewFile,BufRead *.tsx set filetype=typescriptreact autocmd BufRead,BufNewFile *.nginx set ft=nginx autocmd BufRead,BufNewFile */etc/nginx/* set ft=nginx