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
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:
The metadata and
topichave 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