mirror of
https://github.com/preservim/nerdcommenter.git
synced 2025-02-01 10:22:00 +08:00
fix the ruby filetype matching again
This commit is contained in:
parent
f63b4f0987
commit
81307ff269
|
@ -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('--','')
|
||||
|
|
Loading…
Reference in New Issue
Block a user