From e983cf27e7d7a46e7e3f8f277090d526afd132e5 Mon Sep 17 00:00:00 2001 From: Dawid Janczak Date: Tue, 17 Jul 2012 19:50:59 +0200 Subject: [PATCH] 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. --- plugin/NERD_commenter.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/plugin/NERD_commenter.vim b/plugin/NERD_commenter.vim index e062bc2..be7f103 100644 --- a/plugin/NERD_commenter.vim +++ b/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': '#' },