-
Notifications
You must be signed in to change notification settings - Fork 39
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 OCaml Tuareg mode to exceptions #12
Conversation
OCaml comments read as `(* Some comment *)`. But the `*)` translates to 😉, which is not intended.
This patch is a good use case for enabling or disabling emojification per mode and emoji type. Am I right to assume that OCaml Tuareg mode would be fine rendering fenced and Unicode emojis? |
@ryanprior First, thanks for the incredibly quick feedback. I guess you're right. I see no reason why Tuareg mode would not be fine rendering fenced and Unicode emojis. So I'm going to change this PR to disable emojification only for Tuareg mode and the |
@ryanprior I couldn't immediately find an obvious way of achieving that. I'm going to be busy for the rest of the day, so this is going to have to wait until tomorrow. |
@leafac First of all, sorry for any inconvenience caused by this and thanks for the patch. Actually So a better fix would be to teach
I think you have a point (although it would not have helped in present issue). I have opened #13 to track this. |
@iqbalansari Thanks for the lighting fast fix! And thanks for teaching me about the internals of emojify. I'm going to go ahead and close this PR. |
I updated to the latest version of emojify, including 3b9a4bc, and can confirm the issue has been fixed. Thanks! |
Great! Thanks for confirming 😄 |
OCaml comments read as
(* Some comment *)
. But the*)
translates to 😉, which is not intended.