From 81307ff2692e6e5a38d0fa2c9b62451fe0f5cbd2 Mon Sep 17 00:00:00 2001 From: Martin Grenfell Date: Fri, 30 Jan 2009 15:22:41 +1300 Subject: [PATCH] fix the ruby filetype matching again --- plugin/NERD_commenter.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/NERD_commenter.vim b/plugin/NERD_commenter.vim index 115c5d6..2526fcf 100644 --- a/plugin/NERD_commenter.vim +++ b/plugin/NERD_commenter.vim @@ -700,7 +700,7 @@ function s:SetUpForNewFiletype(filetype, forceReset) call s:MapDelimiters('..', '') elseif a:filetype ==? "rtf" call s:MapDelimiters('', '') - elseif a:filetype =~ "ruby\..*" + elseif a:filetype =~ '\cruby\(\..*\)\?' call s:MapDelimiters('#','') elseif a:filetype ==? "sa" call s:MapDelimiters('--','')