Closed kommen closed 7 months ago
I like the proposed change. I'd suggest mentioning in the README as well, so it'd be easier for users to discover it.
Can you also mention it here https://github.com/clojure-emacs/clojure-ts-mode?tab=readme-ov-file#configuration?
Yeah, that's enough. Thanks!
Fixes #30
clojure-ts-toplevel-inside-comment-form
is the equivalent toclojure-toplevel-inside-comment-form
in clojure-mode. Defaults tonil
so no change in behavior by default.This change makes use of
treesit-defun-type-regexp
s ability to use(REGEXP . PRED)
cons cells to rejectcomment
as a defun ifclojure-ts-toplevel-inside-comment-form
is enabled.