Remove hard dependency on sp-point-in-* predicates
This commit is contained in:
parent
060636966f
commit
7c273ad173
2 changed files with 10 additions and 4 deletions
|
@ -540,6 +540,8 @@ files, so this replace calls to `pp' with the much faster `prin1'."
|
|||
:hook (doom-first-buffer . smartparens-global-mode)
|
||||
:commands sp-pair sp-local-pair sp-with-modes sp-point-in-comment sp-point-in-string
|
||||
:config
|
||||
(add-to-list 'doom-point-in-string-functions 'sp-point-in-string)
|
||||
(add-to-list 'doom-point-in-comment-functions 'sp-point-in-comment)
|
||||
;; smartparens recognizes `slime-mrepl-mode', but not `sly-mrepl-mode', so...
|
||||
(add-to-list 'sp-lisp-modes 'sly-mrepl-mode)
|
||||
;; Load default smartparens rules for various languages
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue