mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Apply smartparens lisp rules to sly-mrepl-mode
This commit is contained in:
@ -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) "{" "}"
|
||||
|
Reference in New Issue
Block a user