Tweak smartparens again
This commit is contained in:
parent
f7372de802
commit
2faaa1a028
@ -1053,14 +1053,14 @@ widened buffer states.
|
||||
'(sp-override-key-bindings '(("C-(" . sp-backward-barf-sexp)
|
||||
("C-)" . sp-forward-slurp-sexp))))
|
||||
|
||||
(add-hook 'prog-mode-hook #'turn-on-smartparens-mode)
|
||||
(add-hook 'text-mode-hook #'turn-on-smartparens-mode)
|
||||
(add-hook 'prog-mode-hook #'smartparens-mode)
|
||||
(add-hook 'text-mode-hook #'smartparens-mode)
|
||||
|
||||
(dolist (hook '(emacs-lisp-mode-hook
|
||||
eval-expression-minibuffer-setup-hook
|
||||
ielm-mode-hook
|
||||
python-mode-hook))
|
||||
(add-hook hook #'turn-on-smartparens-strict-mode))
|
||||
(add-hook hook #'smartparens-strict-mode))
|
||||
|
||||
;; https://xenodium.com/emacs-smartparens-auto-indent/index.html
|
||||
(defun indent-between-pair (&rest _ignored)
|
||||
|
Loading…
Reference in New Issue
Block a user