Skip to content

Commit 06089b9

Browse files
committed
feat: erlang binary and map sp
- <<"hello">> - #{k => v, a => b}
1 parent 935aaaf commit 06089b9

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

smartparens-erlang.el

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,11 @@
4646

4747
(declare-function erlang-mode "erlang-mode")
4848

49-
(sp-with-modes 'erlang-mode
49+
(sp-with-modes '(erlang-mode erlang-ts-mode)
5050
(sp-local-pair "`" "'"
51-
:when '(sp-in-comment-p)))
51+
:when '(sp-in-comment-p))
52+
(sp-local-pair "<<" ">>")
53+
(sp-local-pair "#{" "}"))
5254

5355
(provide 'smartparens-erlang)
54-
5556
;;; smartparens-erlang.el ends here

0 commit comments

Comments
 (0)