Lazy add enh-ruby-mode to company-dabbrev-code-modes
This commit is contained in:
parent
4401b2bd34
commit
b35b35feeb
|
@ -184,4 +184,5 @@
|
|||
(when (configuration-layer/layer-usedp 'auto-completion)
|
||||
(defun ruby/post-init-company ()
|
||||
(spacemacs|add-company-hook enh-ruby-mode)
|
||||
(push 'enh-ruby-mode company-dabbrev-code-modes)))
|
||||
(eval-after-load 'company-dabbrev-code
|
||||
'(push 'enh-ruby-mode company-dabbrev-code-modes))))
|
||||
|
|
Loading…
Reference in a new issue