Autoload sp-point-in-{comment,string}

Some commands (like doom/forward-to-last-non-comment-or-eol) can use
this before smartparens has loaded.
This commit is contained in:
Henrik Lissner 2019-01-05 15:21:27 -05:00
parent 6a03b37dd3
commit 4617e00b91
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -156,7 +156,7 @@ savehist file."
;; Auto-close delimiters and blocks as you type. It's more powerful than that,
;; but that is all Doom uses it for.
:after-call (doom-exit-buffer-hook after-find-file)
:commands (sp-pair sp-local-pair sp-with-modes)
:commands (sp-pair sp-local-pair sp-with-modes sp-point-in-comment sp-point-in-string)
:config
(require 'smartparens-config)
(setq sp-highlight-pair-overlay nil