revert(text-editing/smartparens): disable navigate action on {} pair

This reverts commit 2dfc86b610.

Removing navigate action on {} pair has a lot more side effects which
are very annoying. I will need to find another workaround.
This commit is contained in:
Jim Myhrberg
2024-07-15 10:48:30 +01:00
parent 7d4fbe3915
commit 64d520c1d5

View File

@@ -55,12 +55,6 @@
;; smart pairing for all
(require 'smartparens-config)
;; Re-define {} pair to remove the navigate action. This allows for manually
;; inserting a } character, otherwise it would always jump to the next
;; existing } character, preventing you from manually inserting one where you
;; want.
(sp-pair "{" "}" :actions '(wrap insert autoskip))
(defun sp-transpose-sexp-reverse ()
(interactive)
(sp-transpose-sexp -1))