Closed f4k3-pixel closed 4 years ago
I don't have any fancy config. I just configured parinfer-mode as suggested, i.e. it is a very default setup →
(use-package parinfer :bind (("C-," . parinfer-toggle-mode)) :defer t :hook ((lisp-mode . parinfer-mode) (clojure-mode . parinfer-mode) (emacs-lisp-mode . parinfer-mode) (scheme-mode . parinfer-mode)) :init (setq parinfer-extensions '(defaults pretty-parens evil) parinfer-auto-switch-indent-mode t))
But inserting a '(' before another doesn't work as suggested over here →
Expected:
(foo [1 2 3 4 5 6])
Actual:
(foo []1 2 3 4 5 6)
Trying to insert before 1 causes this behavior.
This works for me as intended. Are you sure you don't have any other modes for inserting parens enabled alongside parinfer?
Thanks! electric-pair-mode was interfering with parinfer. It works as expected now :D
I don't have any fancy config. I just configured parinfer-mode as suggested, i.e. it is a very default setup →
But inserting a '(' before another doesn't work as suggested over here →
Expected:
Actual:
Trying to insert before 1 causes this behavior.