-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[Issue #1178] Added hook to register content type and highlighting in orion #1392
Conversation
…hlighting configuration for Orion editor. Signed-off-by: Sven Efftinge <sven.efftinge@typefox.io>
Can one of the admins verify this patch? |
LGTM, @vparfonov ? |
import com.google.inject.Inject; | ||
import com.google.inject.Provider; | ||
|
||
public class OrionContentTypeRegistrant { |
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.
missing javadoc, author
ok, @azatsarynnyy ? |
ok |
@svenefftinge Sorry to reopen but i can t figure out where I m suppose to use this snippet ? |
Ok, got it. |
Hi, Thank you! |
Hi, |
Fixes #1178.
With this change you can configure arbitrary new contentTypes and corresponding highlight configuration.
Here's a usage example: