mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-05 12:37:33 -05:00
Apply smartparens {} fix to enh-ruby-mode too
Fixes: {|} => { | } in enh-ruby-mode buffers too Reported by @ar1a
This commit is contained in:
@ -41,7 +41,7 @@
|
|||||||
(sp-pair "\"" nil :unless unless-list))
|
(sp-pair "\"" nil :unless unless-list))
|
||||||
|
|
||||||
;; Major-mode specific fixes
|
;; Major-mode specific fixes
|
||||||
(sp-local-pair 'ruby-mode "{" "}"
|
(sp-local-pair '(ruby-mode enh-ruby-mode) "{" "}"
|
||||||
:pre-handlers '(:rem sp-ruby-prehandler)
|
:pre-handlers '(:rem sp-ruby-prehandler)
|
||||||
:post-handlers '(:rem sp-ruby-posthandler))
|
:post-handlers '(:rem sp-ruby-posthandler))
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user