diff --git a/modules/lang/markdown/config.el b/modules/lang/markdown/config.el index 3ab052322..f549cee33 100644 --- a/modules/lang/markdown/config.el +++ b/modules/lang/markdown/config.el @@ -50,6 +50,9 @@ capture, the end position, and the output buffer.") ;; buffer. No good way to tell, so pretend it's async. :file '(markdown-follow-thing-at-point :async t)) + (sp-local-pair '(markdown-mode gfm-mode) "`" "`" + :unless '(:add sp-point-before-word-p sp-point-before-same-p)) + (setq-hook! 'markdown-mode-hook fill-nobreak-predicate (cons #'markdown-code-block-at-point-p fill-nobreak-predicate))