sponsor Vim development Vim logo Vim Book Ad

rspec.vim : Rspec syntax highlighting

 script karma  Rating 0/0, Downloaded by 772  Comments, bugs, improvements  Vim wiki

created by
Keith Smiley
 
script type
syntax
 
description
# Rspec.vim

This is improved syntax highlighting for rspec. This is pulled from [Specky](http://www.vim.org/scripts/script.php?script_id=2286) which is a great plugin that just does a little too much for me.

## Installation

### With [Vundle](https://github.com/gmarik/vundle)

Add:

```
Bundle 'Keithbsmiley/rspec.vim'
```

To your `.vimrc` and run `BundleInstall` from within vim or `vim +BundleInstall +qall` from the command line

### With [Pathogen](https://github.com/tpope/vim-pathogen)

```
cd ~/.vim/bundle
git clone https://github.com/Keithbsmiley/rspec.vim.git
```

## Usage

By default this syntax is used with all `*_spec.rb` files. If you don't follow this norm use something like:

```
autocmd BufReadPost,BufNewFile *_foo.rb set filetype=rspec
```

In your `~/.vimrc`
 
install details
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
rspec.vim-0.1.0.tar.gz 0.1.0 2013-04-29 7.0 Keith Smiley Initial upload
ip used for rating: 44.220.184.63

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github