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('--','')