dotfiles/vim-files/vim/ftplugin/ruby.vim

11 lines
414 B
VimL
Raw Normal View History

2015-12-03 09:06:43 -08:00
" Neomake
let g:neomake_ruby_enabled_makers = ['rubocop']
let g:neomake_ruby_rubocop_maker = {
\ 'args': ['--except', 'Style/TrailingComma,Style/Documentation,Metrics/ClassLength,Metrics/ModuleLength,Metrics/MethodLength,Style/SignalException'],
\}
2015-12-02 18:00:56 -08:00
2015-10-08 14:55:54 -07:00
" vim-rspec mappings
nnoremap <Leader>t :call RunCurrentSpecFile()<CR>
nnoremap <Leader>s :call RunNearestSpec()<CR>
nnoremap <Leader>l :call RunLastSpec()<CR>