Skip to content

toggle-markup-hiding stomps on added font-lock-keywords #222

@hmelman

Description

@hmelman

I have the following in my markdown-mode-hook:

(font-lock-add-keywords nil '(("\\W@\\w+" . font-lock-variable-name-face))))

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions