emacs-evil/evil-cleverparens

Form text-object bug

uzhne opened this issue · 3 comments

uzhne commented
(f ;; (
 'x)

Calling evil-cp-a-form with the point at f results in

Search failed. This means there is unmatched expression somewhere or we are at the beginning/end of file.
evil-cp-a-form: Wrong type argument: number-or-marker-p, nil

Seems to be a problem with sp-get-enclosing-sexp and deeper down at sp-get-paired-expression. I've filed an issue with smartparens:

Fuco1/smartparens#556

uzhne commented

Alright, thanks! I should've looked more carefully into it.

This should be fixed now if you use the latest version of smartparens.