smartparens icon indicating copy to clipboard operation
smartparens copied to clipboard

sp-indent-defun doesn't work with Clojure ignore-form

Open andreyorst opened this issue 4 years ago • 0 comments

Expected behavior

Calling sp-indent-defun on such form:

#_(defn []
  10)

Should produce

#_(defn []
    10)

Actual behavior

Nothing happens

I know that sp-indent-defun works differently in comments, but this is not exactly a comment. #_ is same part of expression as say ' or ~@, as it is a reader macro that ignores next form, so sp-indent-defun should work on it too.

andreyorst avatar Jan 28 '21 19:01 andreyorst