Skip to content

Minor Issue With Org-mode Font Locking #40

Description

@therobotreader

When ethan-wspace cleans a buffer, it removes all trailing whitespace. This breaks org-mode font locking for outlines. In org-mode, header lines are color-coded according to their depth, based on the number of leading asterisks (or at least, that's what I use). But that requires a space after the last asterisk, and if there's nothing else on the line ethan-wspace will delete that space and break the font-locking

A file like

* Header
** header 2
*** 

will have the space character at the end of the third line removed, and show up as white characters.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions