mirror of
https://github.com/preservim/nerdcommenter.git
synced 2025-11-13 12:13:47 -05:00
fix the ruby filetype matching again
This commit is contained in:
@@ -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 =~ '\cruby\(\..*\)\?'
|
||||||
call s:MapDelimiters('#','')
|
call s:MapDelimiters('#','')
|
||||||
elseif a:filetype ==? "sa"
|
elseif a:filetype ==? "sa"
|
||||||
call s:MapDelimiters('--','')
|
call s:MapDelimiters('--','')
|
||||||
|
|||||||
Reference in New Issue
Block a user