Apply smartparens lisp rules to sly-mrepl-mode

This commit is contained in:
Henrik Lissner 2020-03-06 15:24:22 -05:00
parent c40588a892
commit 69f14bc3da
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
3 changed files with 5 additions and 6 deletions

View file

@ -98,7 +98,9 @@
:unless '(sp-point-before-word-p sp-point-before-same-p)))
;; In lisps ( should open a new form if before another parenthesis
(sp-local-pair sp-lisp-modes "(" ")" :unless '(:rem sp-point-before-same-p))
(sp-with-modes sp-lisp-modes
(sp-local-pair "`" "`" :actions nil)
(sp-local-pair "(" ")" :unless '(:rem sp-point-before-same-p)))
;; Major-mode specific fixes
(sp-local-pair '(ruby-mode enh-ruby-mode) "{" "}"