mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
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:
@@ -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))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user