Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Distinct coloring for metadata? #85

Description

@vemv

Hi there!

As per https://github.com/github/linguist/blob/master/vendor/README.md , this repo the is the source of truth used for all Clojure syntax highlighting within Github. Correct?

Assuming that, I'm not satisfied with how metadata is rendered here:

(defn foo
  [^::example.config/topic-name topic]
 ...)

The metadata and topic have the same coloring, and therefore the metadata looks to humans like another function argument - which is misleading.

Not sure if this is also the case within Atom.

This is problematic for me since, at work we use some libraries/patterns heavily based off metadata.

As the simplest / most conservative fix, keyword metadata (as opposed to symbol metadata) could get the same exact coloring than plain keywords.

After all, metadata keywords are still keywords, so why should they lose their keyword coloring?

Let me know what you think.

Thanks - V

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions