Skip to content

Instantly share code, notes, and snippets.

@steeve85
Created April 16, 2013 09:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save steeve85/5394539 to your computer and use it in GitHub Desktop.
Save steeve85/5394539 to your computer and use it in GitHub Desktop.
if !exists("au_loaded")
let au_loaded = 1
augroup rb
au FileType ruby set shiftwidth=4 tabstop=4 softtabstop=4 textwidth=78
au FileType ruby set noexpandtab
au FileType ruby hi BogusWhitespace ctermbg=darkgreen guibg=darkgreen
au FileType ruby match BogusWhitespace /\s\+$\|^\t\+ \+\|^ \+\t*/
augroup END
endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment