Created
April 16, 2013 09:11
-
-
Save steeve85/5394539 to your computer and use it in GitHub Desktop.
.vimrc configuration for Metasploit // https://github.com/rapid7/metasploit-framework/wiki/Style-Tips
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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