use the ruby settings for all "sub-filetypes" of ruby

This commit is contained in:
Martin Grenfell 2009-01-30 13:20:52 +13:00
parent 4b680f34e9
commit f63b4f0987

View File

@ -700,7 +700,7 @@ function s:SetUpForNewFiletype(filetype, forceReset)
call s:MapDelimiters('..', '') call s:MapDelimiters('..', '')
elseif a:filetype ==? "rtf" elseif a:filetype ==? "rtf"
call s:MapDelimiters('', '') call s:MapDelimiters('', '')
elseif a:filetype ==? "ruby" elseif a:filetype =~ "ruby\..*"
call s:MapDelimiters('#','') call s:MapDelimiters('#','')
elseif a:filetype ==? "sa" elseif a:filetype ==? "sa"
call s:MapDelimiters('--','') call s:MapDelimiters('--','')