comparison rc/vimrc @ 622:1002aff7e865

php-fpm configs are dosini
author nanaya <me@nanaya.pro>
date Sun, 02 Dec 2018 01:27:28 +0900
parents 7ac088ee101a
children ab58f083b2bf
comparison
equal deleted inserted replaced
621:36986df49633 622:1002aff7e865
110 autocmd BufRead,BufNewFile *.slim set filetype=slim 110 autocmd BufRead,BufNewFile *.slim set filetype=slim
111 autocmd BufRead,BufNewFile Gemfile set filetype=ruby 111 autocmd BufRead,BufNewFile Gemfile set filetype=ruby
112 autocmd BufRead,BufNewFile Vagrantfile set filetype=ruby 112 autocmd BufRead,BufNewFile Vagrantfile set filetype=ruby
113 autocmd BufRead,BufNewFile config.ru set filetype=ruby 113 autocmd BufRead,BufNewFile config.ru set filetype=ruby
114 autocmd BufRead,BufNewFile supervisord.conf set filetype=dosini 114 autocmd BufRead,BufNewFile supervisord.conf set filetype=dosini
115 autocmd BufRead,BufNewFile php-fpm.conf set filetype=dosini
116 autocmd BufRead,BufNewFile */php-fpm.d/* set filetype=dosini
115 " 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
116 " use `set filetype` to override default filetype=xml for *.ts files 118 " use `set filetype` to override default filetype=xml for *.ts files
117 autocmd BufNewFile,BufRead *.ts set filetype=typescript 119 autocmd BufNewFile,BufRead *.ts set filetype=typescript
118 " use `setfiletype` to not override any other plugins like ianks/vim-tsx 120 " use `setfiletype` to not override any other plugins like ianks/vim-tsx
119 autocmd BufNewFile,BufRead *.tsx setfiletype typescript 121 autocmd BufNewFile,BufRead *.tsx setfiletype typescript