Skip to content

Commit

Permalink
tweak(smartparens): enable globally
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Jul 22, 2023
1 parent ab9084e commit b2cec8b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/me-editor.el
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,14 @@

(use-package smartparens
:straight t
:hook (prog-mode . smartparens-mode)
:hook (minemacs-after-startup . smartparens-global-mode)
:init
;; From Doom Emacs, disable expensive navigation features.
(+setq-hook! smartparens-mode
sp-navigate-skip-match nil
sp-navigate-consider-sgml-tags nil)
:config
(sp-local-pair 'org-mode "$" "$" :unless '(sp-point-after-word-p))
(with-eval-after-load 'evil-mc
;; Make evil-mc cooperate with smartparens better
(let ((vars (cdr (assq :default evil-mc-cursor-variables))))
Expand Down

0 comments on commit b2cec8b

Please sign in to comment.