smartparens
smartparens copied to clipboard
Add support for EDoc verbatim quoting for erlang comments
Expected behavior
Smartparens should pair a backquote ` with a single quote ' inside erlang comments to support EDoc verbatim quoting.
Actual behavior
Smartparens pairs backquote with itself inside comments.
Steps to reproduce the problem
In erlang-mode, create a comment by typing at least one % followed by a `. The result is
%% ``
instead of the desired
%% `'
Environment & version information
-
smartparensversion: 20220623.1523 - Active
major-mode:erlang-mode - Smartparens strict mode: t
- Emacs version (
M-x emacs-version): GNU Emacs 28.0.60 (build 1, aarch64-apple-darwin21.1.0, NS appkit-2113.00 Version 12.0.1 (Build 21A559)) of 2021-11-01 - Starterkit/Distribution: Vanilla
- OS: darwin