Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/keith/rspec.vim
Better rspec syntax highlighting for Vim
https://github.com/keith/rspec.vim
rspec vim viml
Last synced: 10 days ago
JSON representation
Better rspec syntax highlighting for Vim
- Host: GitHub
- URL: https://github.com/keith/rspec.vim
- Owner: keith
- License: mit
- Created: 2013-04-28T04:08:51.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2020-08-20T14:59:28.000Z (about 4 years ago)
- Last Synced: 2024-10-12T06:08:06.525Z (26 days ago)
- Topics: rspec, vim, viml
- Language: Vim script
- Size: 36.1 KB
- Stars: 42
- Watchers: 5
- Forks: 26
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rspec.vim
This provides 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 which just does a little too much for me.If you don't have a preferred installation method check out
[vim-plug](https://github.com/junegunn/vim-plug)## Usage
By default this syntax is used with all files matching one of these patterns:
- `*_spec.rb`
- `*_shared_examples.rb`
- `*_shared_context.rb`If you don't follow this pattern use something like:
```vim
autocmd BufNewFile,BufRead *_foo.rb set syntax=rspec
```In your `~/.vimrc`