Skip to content

Commit 078f9e3

Browse files
committed
fix single line function shorthand operator
1 parent d1369e1 commit 078f9e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/rascript.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ function RAScript(hljs) {
2828
},
2929
{
3030
className: 'operator',
31-
begin: /(\|\||\&\&|\=\=|\!\=|\>\=|\<\=)/,
31+
begin: /(\|\||\&\&|\=\=|\!\=|\>\=|\<\=|\=\>)/,
3232
},
3333
{
3434
scope: 'operator',
35-
match: /[^\=][\+\-\*\/\%\^\&\^\~\>\<\!\|]/,
35+
match: /[\+\-\*\/\%\^\&\^\~\>\<\!\|]/,
3636
},
3737
{
3838
begin: [

0 commit comments

Comments
 (0)