DogLooksGood / parinfer-mode

Parinfer for Emacs :)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Yank not work properly.

DogLooksGood opened this issue · comments

(defun hello ()
  (print 1) ;; <- yank before this line
  (print 2)
  (print 3)) ;; <- kill this line

the result will be

(defun hello ()
  (print 3))  ;; <- wrong close paren
  (print 1)
  (print 2)

We need to invoke parinfer after cursor position change to fix this.