mirror of
https://github.com/preservim/nerdcommenter.git
synced 2024-11-25 17:57:06 +08:00
use the ruby settings for all "sub-filetypes" of ruby
This commit is contained in:
parent
4b680f34e9
commit
f63b4f0987
|
@ -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('--','')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user