fix highlighting of =begin comments in ruby

This commit is contained in:
nightwing 2012-11-01 22:12:12 +04:00
commit e0c721b033

View file

@ -104,7 +104,7 @@ var RubyHighlightRules = function() {
}, {
token : "comment", // multi line comment
merge : true,
regex : "^\=begin$",
regex : "^=begin\\s",
next : "comment"
}, {
token : "string.regexp",
@ -161,7 +161,7 @@ var RubyHighlightRules = function() {
"comment" : [
{
token : "comment", // closing comment
regex : "^\=end$",
regex : "^=end\\s.*$",
next : "start"
}, {
token : "comment", // comment spanning whole line