clojure-emacs / clojure-ts-mode

The next generation Clojure major mode for Emacs, powered by TreeSitter
GNU General Public License v3.0
140 stars 13 forks source link

`comment-region` doesn't work out-of-the-box #3

Closed sogaiu closed 1 year ago

sogaiu commented 1 year ago

I get No comment syntax is defined. Use: in the minibuffer when invoking comment-region.

I don't know if the treesit stuff will somehow make this all work via some clever means (or if there's already a way), but for the moment the traditional method of:

(setq-local comment-start ";")

in an appropriate location within the define-derived-mode form seems to work.

dannyfreeman commented 1 year ago

This is fixed, thank you @sogaiu