Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Add rspec flietype #79

Merged
merged 1 commit into from

2 participants

@DawidJanczak

Hello.

I don't know if you think it is needed, but I have added support for rspec file type. Some plugins set it when dealing with Ruby RSpec files.

@DawidJanczak DawidJanczak Add rspec filetype.
Since some plugins set filetype of RSpec spec files to rspec, the
filetype has been added to list of types.
The comment string itself is the same as in Ruby files.
e983cf2
@scrooloose scrooloose merged commit c3756d1 into scrooloose:master
@scrooloose
Owner

Cheers :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jul 17, 2012
  1. @DawidJanczak

    Add rspec filetype.

    DawidJanczak authored
    Since some plugins set filetype of RSpec spec files to rspec, the
    filetype has been added to list of types.
    The comment string itself is the same as in Ruby files.
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 0 deletions.
  1. +1 −0  plugin/NERD_commenter.vim
View
1  plugin/NERD_commenter.vim
@@ -312,6 +312,7 @@ let s:delimiterMap = {
\ 'rgb': { 'left': '!' },
\ 'rib': { 'left': '#' },
\ 'robots': { 'left': '#' },
+ \ 'rspec': { 'left': '#' },
\ 'ruby': { 'left': '#' },
\ 'sa': { 'left': '--' },
\ 'samba': { 'left': ';', 'leftAlt': '#' },
Something went wrong with that request. Please try again.