Skip to content

Keywords ending in # aren't correctly highlighted #21

Closed
@samaaron

Description

@samaaron

I've tried to hack a solution but I appear to be lost in a sea of unfamiliar regex syntax.

It appears that line 520 is close to the issue:

  ;; Constant values (keywords), including as metadata e.g. ^:static
  ("\\<^?:\\(\\sw\\|#\\)+\\>" 0 font-lock-builtin-face)

somehow the end of word matcher \\> inhibits # from being the end of a keyword.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions