Closed the-moriarty closed 2 years ago
This is not a smartparens feature. Something configures this behaviour in doom emacs for () and [] but not for {}. You can add it manually for your config if you want:
(sp-local-pair 'ruby-mode "{" nil :post-handlers '(("||\n[i]" "RET")))
Explain of issue: https://github.com/hlissner/doom-emacs/issues/5931