Prevent backtick auto-pairing before word/same
This commit is contained in:
parent
6d2c82db34
commit
a084318932
1 changed files with 3 additions and 0 deletions
|
@ -50,6 +50,9 @@ capture, the end position, and the output buffer.")
|
||||||
;; buffer. No good way to tell, so pretend it's async.
|
;; buffer. No good way to tell, so pretend it's async.
|
||||||
:file '(markdown-follow-thing-at-point :async t))
|
: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
|
(setq-hook! 'markdown-mode-hook
|
||||||
fill-nobreak-predicate (cons #'markdown-code-block-at-point-p
|
fill-nobreak-predicate (cons #'markdown-code-block-at-point-p
|
||||||
fill-nobreak-predicate))
|
fill-nobreak-predicate))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue