working on this jump-to-definition thing helped to identify and address some issues with the grammar. the namespace processing portion is turning out to be more complex than expected (tools.namespace doesn't quite do what i need -- clj-kondo likely has all of the smarts for it though) -- at least to do it well, so i'm pausing work on this.
today i tried out the new discard_form highlighting in a modified language-clojure
plugin for atom.
the good news is that discard forms (so the #_ and the form after) are recongized correctly. the "disabled" form still gets "colored" based on its content (e.g. if there is a keyword in it, the keyword gets colored as if it was not "disabled") though, although it is italicized. depending on one's preferences, this may or may not be desirable.
also tried with the tree-sitter cli's highlight command with similar results (except this is at a console and thus(?) there is no italicization).
also got emacs-tree-sitter to work -- with small tweaking, it was able to dump the tree of a clojure file (note: afaik, the highlighting is still font-lock -- no tree-sitter stuff involved)