Hi there,
First off, thanks everyone for your work on this excellent library!
Lezer added support for specifying default props within the grammar file using @external propSource.
As far as I understand this enables you to declare the syntax highlighting within the lezer grammar itself.
For example lezer-json defines an @external propSource linking to these styleTags.
It would be great if lezer-clojure did something similar. Right now you need to pull in the clojure-mode package to grab the style tags.
For our use case, nothing in clojure-mode is particularly applicable except for the style tags.
If this sounds like a reasonable request/contribution, I'd be happy to draft up a PR :)
Hi there,
First off, thanks everyone for your work on this excellent library!
Lezer added support for specifying default props within the grammar file using
@external propSource.As far as I understand this enables you to declare the syntax highlighting within the lezer grammar itself.
For example lezer-json defines an @external propSource linking to these styleTags.
It would be great if lezer-clojure did something similar. Right now you need to pull in the clojure-mode package to grab the style tags.
For our use case, nothing in clojure-mode is particularly applicable except for the style tags.
If this sounds like a reasonable request/contribution, I'd be happy to draft up a PR :)