Skip to content

Instantly share code, notes, and snippets.

@salomvary
Last active August 29, 2015 14:27
Show Gist options
  • Save salomvary/fb7d11e051b78483bb8b to your computer and use it in GitHub Desktop.
Save salomvary/fb7d11e051b78483bb8b to your computer and use it in GitHub Desktop.
Ruby for VIM
-R
--languages=ruby
--exclude=.git
--exclude=log
" Install these:
" https://github.com/vim-ruby/vim-ruby
" https://github.com/scrooloose/syntastic
" Run tests with rspec
compiler rspec
:make
" Enable Rubocop (gem install rubocop) + Syntastic
let g:syntastic_ruby_checkers = ['mri', 'rubocop']
" TODO: make this work `compiler rubocop`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment