Disable company-mode in inf-ruby-mode

When entering interactive shells or debug sessions within inf-ruby,
emacs would often lockup for 10-15 seconds as you typed while company
was trying to figure out what possible completions there are. As far as
I saw, it never came back with any completion candidates. So let's just
diable it.
This commit is contained in:
2018-12-20 15:50:35 +00:00
parent a1559a67dc
commit 358d5ff1c4

View File

@@ -87,7 +87,13 @@
:defer t
:hook
(ruby-mode . inf-ruby-minor-mode)
(inf-ruby-mode . siren-inf-ruby-mode-setup)
(compilation-filter . inf-ruby-auto-enter)
:init
(defun siren-inf-ruby-mode-setup ()
(company-mode -1))
:config
(unbind-key "C-c C-r" inf-ruby-minor-mode-map))