Apply smartparens lisp rules to sly-mrepl-mode
This commit is contained in:
parent
c40588a892
commit
69f14bc3da
3 changed files with 5 additions and 6 deletions
|
@ -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) "{" "}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue