branch: elpa/smartparens commit 06089b951ce79be90e446256a5cb233516c748e2 Author: JimMoen <lnjimm...@outlook.com> Commit: JimMoen <lnjimm...@outlook.com>
feat: erlang binary and map sp - <<"hello">> - #{k => v, a => b} --- smartparens-erlang.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/smartparens-erlang.el b/smartparens-erlang.el index 767ecb4b1f..b92c3230f6 100644 --- a/smartparens-erlang.el +++ b/smartparens-erlang.el @@ -46,10 +46,11 @@ (declare-function erlang-mode "erlang-mode") -(sp-with-modes 'erlang-mode +(sp-with-modes '(erlang-mode erlang-ts-mode) (sp-local-pair "`" "'" - :when '(sp-in-comment-p))) + :when '(sp-in-comment-p)) + (sp-local-pair "<<" ">>") + (sp-local-pair "#{" "}")) (provide 'smartparens-erlang) - ;;; smartparens-erlang.el ends here