                   (bound-and-true-p lsp--buffer-deferred))
         (robe-mode +1))))
   :config
-  (set-repl-handler! 'enh-ruby-mode #'robe-start)
-  (set-company-backend! 'enh-ruby-mode 'company-robe 'company-dabbrev-code)
-  (set-lookup-handlers! 'enh-ruby-mode
+  (set-repl-handler! '(ruby-mode enh-ruby-mode) #'robe-start)
+  (set-company-backend! '(ruby-mode enh-ruby-mode) 'company-robe 'company-dabbrev-code)
+  (set-lookup-handlers! '(ruby-mode enh-ruby-mode)
     :definition #'robe-jump
     :documentation #'robe-doc)
   (map! :localleader



(use-package! rubocop
  :hook (enh-ruby-mode . rubocop-mode)
  :config
  (map! :localleader

(use-package! bundler
  :defer t
  :init
  (map! :after ruby-mode
        :localleader
        :map (ruby-mode-map enh-ruby-mode-map)
        :prefix "b"
        "c" #'bundle-check
        "C" #'bundle-console
