Skip to content

Commit 8915518

Browse files
committed
Add unless to Ruby expression starters
Fixes #1351
1 parent 4d899f9 commit 8915518

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/languages/ruby.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ function(hljs) {
130130
keywords: RUBY_KEYWORDS
131131
},
132132
{ // regexp container
133-
begin: '(' + hljs.RE_STARTERS_RE + ')\\s*',
133+
begin: '(' + hljs.RE_STARTERS_RE + '|unless)\\s*',
134134
contains: [
135135
IRB_OBJECT,
136136
{

0 commit comments

Comments
 (0)