clojure-emacs/clojure-ts-mode

Jank Support

dannyfreeman opened this issue · 16 comments

We should consider having a way to support the Jank dialect of Clojure

Some interest is expressed here: jank-lang/jank#24

I would propose a new derivative mode, something like clojure-jank-ts-mode.

Jank supports some embedded code (c++). We could work to include a nested parser for this language. Good support for this may not land until Emacs 30. Currently nested parsers have a tendency to break out of their regions.

sogaiu commented

Wasn't sure which might be the relevant bits in Emacs, but came across this. Just leaving it here for future reference :)

Update: I guess that's the kind of thing you had in mind based on the code I see here -- (e.g. treesit-range-rules).