-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ABAP language #636
Add ABAP language #636
Conversation
Based on Ram Manohar Tiwari (rmtiwari)'s ABAPSyntaxHighlighter.
@@ -0,0 +1,50 @@ | |||
Prism.languages.abap= { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
May you add a space before the =
?
Thanks for contributing! Please take a look at my comments. |
Thanks for the comments, I did the changes. |
lookbehind: true | ||
}, | ||
'string_operator' : { | ||
pattern: /(\s)(&{1,2})(?=\s)/, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The parentheses aren't needed around &{1,2}
. Also, it would be shorter written as &&?
. (BTW this also apply to \*{1,2}
in the operator regexp above.)
This looks good to me. @LeaVerou, can you take a look, too? |
Sorry for the delay, I'm merging this. |
Based on the work of @rmtiwari (https://github.com/rmtiwari/ABAPSyntaxHighlighter).
Supports: