autocmd BufReadPost,BufNewFile *_spec.rb set syntax=rspec autocmd BufReadPost,BufNewFile *_spec.rb setlocal commentstring=#\ %s