Skip to content

Commit

Permalink
fix the ruby filetype matching again
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Grenfell committed Jan 30, 2009
1 parent f63b4f0 commit 81307ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/NERD_commenter.vim
Expand Up @@ -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('--','')
Expand Down

0 comments on commit 81307ff

Please sign in to comment.