From b4051ffc4d2a532f64d1d35e155b0f59d76db7c8 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Wed, 12 Sep 2018 22:25:47 -0700 Subject: [PATCH] Enable electric-indent mode for Ruby files --- emacs/.emacs.d/init/oni-ruby-init.el | 1 + 1 file changed, 1 insertion(+) diff --git a/emacs/.emacs.d/init/oni-ruby-init.el b/emacs/.emacs.d/init/oni-ruby-init.el index c98f120..d38640e 100755 --- a/emacs/.emacs.d/init/oni-ruby-init.el +++ b/emacs/.emacs.d/init/oni-ruby-init.el @@ -26,6 +26,7 @@ (add-hook 'ruby-mode-hook 'fci-mode) (add-hook 'ruby-mode-hook 'electric-pair-local-mode) +(add-hook 'ruby-mode-hook 'electric-indent-local-mode) (provide 'oni-ruby-init) ;;; oni-ruby-init.el ends here