Apply smartparens {} fix to enh-ruby-mode too

Fixes:

  {|} => {
    |
  }

in enh-ruby-mode buffers too

Reported by @ar1a
This commit is contained in:
Henrik Lissner 2018-07-06 15:28:55 +02:00
parent 0b7faa468c
commit 633b5b764d
No known key found for this signature in database
GPG Key ID: 5F6C0EA160557395

View File

@ -41,7 +41,7 @@
(sp-pair "\"" nil :unless unless-list))
;; Major-mode specific fixes
(sp-local-pair 'ruby-mode "{" "}"
(sp-local-pair '(ruby-mode enh-ruby-mode) "{" "}"
:pre-handlers '(:rem sp-ruby-prehandler)
:post-handlers '(:rem sp-ruby-posthandler))