diff rc/vimrc @ 541:5cdef8f4360f

Cleanup file type setters.
author edogawaconan <me@myconan.net>
date Tue, 06 Jan 2015 03:26:39 +0900
parents 50fd59a959ea
children fc429d39ce9e
line wrap: on
line diff
--- a/rc/vimrc	Tue Jan 06 03:25:01 2015 +0900
+++ b/rc/vimrc	Tue Jan 06 03:26:39 2015 +0900
@@ -82,24 +82,24 @@
     " reference: https://github.com/elzr/vim-json/blob/master/ftplugin/json.vim
     let g:vim_json_syntax_conceal = 1
   augroup END
-  autocmd BufRead,BufNewFile supervisord.conf :set ft=dosini
-  autocmd BufRead,BufNewFile Gemfile :set ft=ruby
-  autocmd BufRead,BufNewFile config.ru :set ft=ruby
-  autocmd BufRead,BufNewFile crontab.* :set noet
-  autocmd BufRead,BufNewFile crontab :set noet
-  autocmd BufRead,BufNewFile fstab :set noet
-  autocmd BufRead,BufNewFile */.git/COMMIT_EDITMSG :set noet
-  autocmd BufRead,BufNewFile .git/COMMIT_EDITMSG :set noet
-  autocmd BufRead,BufNewFile .gitconfig :set noet
-  autocmd BufRead,BufNewFile .git/config :set noet
-  autocmd BufRead,BufNewFile *.coffee :set ft=coffee
-  autocmd BufRead,BufNewFile *.erb :set ft=eruby
-  autocmd BufRead,BufNewFile *.less :set ft=less
-  autocmd BufRead,BufNewFile *.scss :set ft=scss
-  autocmd BufRead,BufNewFile *.slim :set ft=slim
-  autocmd BufRead,BufNewFile *.blade.php :set ft=blade
   autocmd BufNewFile,BufRead *.json set filetype=json
   autocmd BufNewFile,BufRead *.jsonp set filetype=json
+  autocmd BufRead,BufNewFile *.blade.php set filetype=blade
+  autocmd BufRead,BufNewFile *.coffee set filetype=coffee
+  autocmd BufRead,BufNewFile *.erb set filetype=eruby
+  autocmd BufRead,BufNewFile *.less set filetype=less
+  autocmd BufRead,BufNewFile *.scss set filetype=scss
+  autocmd BufRead,BufNewFile *.slim set filetype=slim
+  autocmd BufRead,BufNewFile */.git/COMMIT_EDITMSG set noexpandtab
+  autocmd BufRead,BufNewFile .git/COMMIT_EDITMSG set noexpandtab
+  autocmd BufRead,BufNewFile .git/config set noexpandtab
+  autocmd BufRead,BufNewFile .gitconfig set noexpandtab
+  autocmd BufRead,BufNewFile Gemfile set filetype=ruby
+  autocmd BufRead,BufNewFile config.ru set filetype=ruby
+  autocmd BufRead,BufNewFile crontab set noexpandtab
+  autocmd BufRead,BufNewFile crontab.* set noexpandtab
+  autocmd BufRead,BufNewFile fstab set noexpandtab
+  autocmd BufRead,BufNewFile supervisord.conf set filetype=dosini
 endif
 
 if has('autocmd')