Tweak `smartparens' setup
This commit is contained in:
parent
f9a0261546
commit
b4fd5335b1
@ -6766,7 +6766,6 @@ contrary to for instance [[https://github.com/Fanael/rainbow-delimiters#readme][
|
||||
(add-hook symbol #'smartparens-mode))
|
||||
|
||||
(dolist (symbol '(emacs-lisp-mode-hook
|
||||
geiser-repl-startup-hook
|
||||
go-ts-mode-hook
|
||||
ielm-mode-hook
|
||||
lisp-data-mode-hook
|
||||
@ -6783,7 +6782,7 @@ contrary to for instance [[https://github.com/Fanael/rainbow-delimiters#readme][
|
||||
("* ||\n[i]" "RET"))))
|
||||
;; Go has no sexp suffices. This fixes slurping:
|
||||
;; (|foo).bar -> (foo.bar)
|
||||
(add-to-list 'sp-sexp-suffix (list #'go-mode 'regexp "")))
|
||||
(add-to-list 'sp-sexp-suffix (list #'go-ts-mode 'regexp "")))
|
||||
|
||||
;; https://xenodium.com/emacs-smartparens-auto-indent/index.html
|
||||
(defun indent-between-pair (&rest _ignored)
|
||||
|
Loading…
Reference in New Issue
Block a user