-
Notifications
You must be signed in to change notification settings - Fork 167
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
toggle-markup-hiding stomps on added font-lock-keywords #222
Comments
Thanks for pointing this out. Currently In the meantime, possible workarounds are to add your highlighter to |
Hopefully this is fixed now, but let me know if you still have issues adding keywords. |
Given the keywords in my original comment, I'm still having the same problem. Am I supposed to be using something else? |
Sorry about that. It does seem to work if you specify In other words, this does work for me, but is applied globally rather than to the current buffer only:
|
You're right that setting it that way works. I've changed my markdown-mode customization hooks :) |
Glad you were able to adjust your configuration. It appears to be fixed now when adding buffer-specific keywords as well. |
I have the following in my markdown-mode-hook:
Works great when I open a file to highlight things like "@closed". However, using
markdown-toggle-markup-hiding
removes this highlighting. I might not mind if it only did this while hiding, but using it again to toggle it off doesn't restore my highlighting.The text was updated successfully, but these errors were encountered: