Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (12 sloc) 571 Bytes
" =========================================
" BUFFER SETTINGS
" =========================================
" Capfile, Thorfile, Rakefile, Vagrantfile and Gemfile are Ruby
au BufRead,BufNewFile {Capfile,Gemfile,Rakefile,Vagrantfile,Thorfile,config.ru,Guardfile} set ft=ruby
au BufRead,BufNewFile *.txt call s:setupWrapping()
" Make json highlight as javascript
au BufNewFile,BufRead *.json set ft=javascript
" Rdoc syntax
au BufNewFile,BufRead *.rdoc set ft=rdoc
" Make python follow PEP8 ( http://www.python.org/dev/peps/pep-0008/ )
au FileType python set tabstop=4