Permalink
Browse files

1)Adding annotation token

2)Making the annotation token match before function
  • Loading branch information...
desertjim committed Mar 5, 2016
1 parent 9c1a970 commit 49be68be9bc7c1325ac99ac32f6b32e6c70e23cf

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -5,4 +5,8 @@ Prism.languages.java = Prism.languages.extend('clike', {
pattern: /(^|[^.])(?:\+[+=]?|-[-=]?|!=?|<<?=?|>>?>?=?|==?|&[&=]?|\|[|=]?|\*=?|\/=?|%=?|\^=?|[?:~])/m,
lookbehind: true
}
});
});
Prism.languages.insertBefore('java','function', {
'annotation': /(@{1}\w*\(.*?\))|(@{1}\w+)/i,
});

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit 49be68b

Please sign in to comment.