comparison 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
comparison
equal deleted inserted replaced
633:f382ac2f585e 634:ced2ee9efd9f
115 autocmd BufRead,BufNewFile php-fpm.conf set filetype=dosini 115 autocmd BufRead,BufNewFile php-fpm.conf set filetype=dosini
116 autocmd BufRead,BufNewFile */php-fpm.d/* set filetype=dosini 116 autocmd BufRead,BufNewFile */php-fpm.d/* set filetype=dosini
117 " stolen from https://github.com/leafgarland/typescript-vim/blob/master/ftdetect/typescript.vim 117 " stolen from https://github.com/leafgarland/typescript-vim/blob/master/ftdetect/typescript.vim
118 " use `set filetype` to override default filetype=xml for *.ts files 118 " use `set filetype` to override default filetype=xml for *.ts files
119 autocmd BufNewFile,BufRead *.ts set filetype=typescript 119 autocmd BufNewFile,BufRead *.ts set filetype=typescript
120 autocmd BufNewFile,BufRead *.tsx set filetype=typescript.tsx 120 autocmd BufNewFile,BufRead *.tsx set filetype=typescriptreact
121 121
122 autocmd BufRead,BufNewFile *.nginx set ft=nginx 122 autocmd BufRead,BufNewFile *.nginx set ft=nginx
123 autocmd BufRead,BufNewFile */etc/nginx/* set ft=nginx 123 autocmd BufRead,BufNewFile */etc/nginx/* set ft=nginx
124 autocmd BufRead,BufNewFile */usr/local/nginx/conf/* set ft=nginx 124 autocmd BufRead,BufNewFile */usr/local/nginx/conf/* set ft=nginx
125 autocmd BufRead,BufNewFile */opt/nginx/conf/* set ft=nginx 125 autocmd BufRead,BufNewFile */opt/nginx/conf/* set ft=nginx