Skip to content

lad/vim-rubocop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

A Vim Plugin for Rubocop

Runs the rubocop style checker on the current file or files in the current directory on down. Rubocop config can specify which files to analyse.

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-rubocop.git ./vim-rubocop
  3. If you want to use a specific config file set g:rubocop_config

    let g:rubocop_config = "~/git/dev/roux/etc/rubocop.yml"
  4. Setup whatever shortcuts you want to invoke RubocopThis (current file) or RubocopAll.

    nnoremap    <leader>R       :RubocopThis<CR>
    nnoremap    <leader>T       :RubocopAll<CR>

About

Vim plugin to run rubocop

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published