From f63b4f0987bec525d792a8357197e401afd4df08 Mon Sep 17 00:00:00 2001 From: Martin Grenfell Date: Fri, 30 Jan 2009 13:20:52 +1300 Subject: [PATCH] use the ruby settings for all "sub-filetypes" of ruby --- 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 6a35c94..115c5d6 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 =~ "ruby\..*" call s:MapDelimiters('#','') elseif a:filetype ==? "sa" call s:MapDelimiters('--','')