Skip to content

Support equivalent of clojure-toplevel-inside-comment-form #30

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
kommen opened this issue Jan 22, 2024 · 0 comments · Fixed by #31
Closed

Support equivalent of clojure-toplevel-inside-comment-form #30

kommen opened this issue Jan 22, 2024 · 0 comments · Fixed by #31

Comments

@kommen
Copy link
Contributor

kommen commented Jan 22, 2024

Given this code (| being the cursor)

(comment
  (+ 1 1)|)

Expected behavior

Have an option equivalent to clojure-toplevel-inside-comment-form so running cider-eval-defun-at-point evals to 2, as there is for clojure-mode.

Actual behavior

running cider-eval-defun-at-point with clojure-ts-mode evals to nil as clojure-ts-mode as doesn't seem to have an equivalent option to clojure-toplevel-inside-comment-form

clojure-ts-mode version

clojure-ts-mode (version 0.2.0)
kommen added a commit to kommen/clojure-ts-mode that referenced this issue Feb 3, 2024
Fixes clojure-emacs#30

This is the equivalent to clojure-toplevel-inside-comment-form in clojure-mode
kommen added a commit to kommen/clojure-ts-mode that referenced this issue Feb 3, 2024
Fixes clojure-emacs#30

This is the equivalent to clojure-toplevel-inside-comment-form in clojure-mode
bbatsov pushed a commit that referenced this issue Feb 7, 2024
This is the equivalent to clojure-toplevel-inside-comment-form in clojure-mode.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant