diff --git a/emacs/.emacs.d/config/init-ruby.el b/emacs/.emacs.d/config/init-ruby.el index 7259cf2..cf9ab55 100644 --- a/emacs/.emacs.d/config/init-ruby.el +++ b/emacs/.emacs.d/config/init-ruby.el @@ -18,7 +18,8 @@ :commands (inf-ruby inf-ruby-console-auto) :general ([remap inf-ruby] #'inf-ruby-console-auto) - :hook (after-init . inf-ruby-switch-setup) + :hook ((after-init . inf-ruby-switch-setup) + (compilation-filter . inf-ruby-auto-enter-and-focus)) :config (defun inf-ruby-process-carriage-return (output) (let ((processed (replace-regexp-in-string ".*\r" "" output)))