You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
comment-add is 1 in clojure-mode1, whereas clojure-ts-mode does not set it in clojure-ts-mode-variables. This affects how many ; are added when using comment-region (see the full explanation below).
I guess it would make sense to simply reproduce clojure-mode settings.
I can open a PR for that, if it's the case.
What do you think?
Thanks!
comment-add is a variable defined in ‘newcomment.el’.
Its value is 1
Local in buffer clojure-mode.el; global value is 0
How many more comment chars should be inserted by ‘comment-region’.
This determines the default value of the numeric argument of ‘comment-region’.
The ‘plain’ comment style doubles this value.
The text was updated successfully, but these errors were encountered:
comment-add
is1
inclojure-mode
1, whereasclojure-ts-mode
does not set it inclojure-ts-mode-variables
. This affects how many;
are added when usingcomment-region
(see the full explanation below).I guess it would make sense to simply reproduce
clojure-mode
settings.I can open a PR for that, if it's the case.
What do you think?
Thanks!
The text was updated successfully, but these errors were encountered: