From 4617e00b918791a0309519a8563361c2a6c6847b Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 5 Jan 2019 15:21:27 -0500 Subject: [PATCH] Autoload sp-point-in-{comment,string} Some commands (like doom/forward-to-last-non-comment-or-eol) can use this before smartparens has loaded. --- core/core-editor.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/core-editor.el b/core/core-editor.el index 5a1c339ef..b804ed81a 100644 --- a/core/core-editor.el +++ b/core/core-editor.el @@ -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