clojure-emacs/clojure-ts-mode

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

kommen opened this issue · 0 comments

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)