comparison rc/vimrc @ 720:2cfa6fb4e755

Filetype for samba config
author nanaya <me@nanaya.net>
date Mon, 19 Aug 2024 16:52:59 +0900
parents 42e58cea7821
children 440e800e9be0
comparison
equal deleted inserted replaced
719:bcdf320dabf4 720:2cfa6fb4e755
117 autocmd BufRead,BufNewFile *.scss set filetype=scss 117 autocmd BufRead,BufNewFile *.scss set filetype=scss
118 autocmd BufRead,BufNewFile *.slim set filetype=slim 118 autocmd BufRead,BufNewFile *.slim set filetype=slim
119 autocmd BufRead,BufNewFile Gemfile set filetype=ruby 119 autocmd BufRead,BufNewFile Gemfile set filetype=ruby
120 autocmd BufRead,BufNewFile Vagrantfile set filetype=ruby 120 autocmd BufRead,BufNewFile Vagrantfile set filetype=ruby
121 autocmd BufRead,BufNewFile config.ru set filetype=ruby 121 autocmd BufRead,BufNewFile config.ru set filetype=ruby
122 autocmd BufRead,BufNewFile smb.conf set ft=dosini
122 autocmd BufRead,BufNewFile supervisord.conf set filetype=dosini 123 autocmd BufRead,BufNewFile supervisord.conf set filetype=dosini
123 autocmd BufRead,BufNewFile php-fpm.conf set filetype=dosini 124 autocmd BufRead,BufNewFile php-fpm.conf set filetype=dosini
124 autocmd BufRead,BufNewFile */php-fpm.d/* set filetype=dosini 125 autocmd BufRead,BufNewFile */php-fpm.d/* set filetype=dosini
125 " stolen from https://github.com/leafgarland/typescript-vim/blob/master/ftdetect/typescript.vim 126 " stolen from https://github.com/leafgarland/typescript-vim/blob/master/ftdetect/typescript.vim
126 " use `set filetype` to override default filetype=xml for *.ts files 127 " use `set filetype` to override default filetype=xml for *.ts files