/vim-reek

Vim plugin to run reek on ruby source files

Primary LanguageVim ScriptGNU General Public License v2.0GPL-2.0

A Vim Plugin for Reek

Runs the reek style checker on the current file or files in the current directory on down.

Installation

  1. Install pathogen if you're not using it already.

  2. Clone this repository into your bundle directory:

    cd ~/.vim/bundle
    git clone https://github.com/lad/vim-reek.git ./vim-reek
  3. If you want to use a specific config file set g:reek_config

    let g:reek_config = "~/git/dev/roux/etc/config.reek"
  4. Setup whatever shortcuts you want to invoke ReekThis (current file) or ReekAll.

    nnoremap    <leader>Y       :ReekThis<CR>
    nnoremap    <leader>U       :ReekAll<CR>