Lazy add enh-ruby-mode to company-dabbrev-code-modes

This commit is contained in:
syl20bnr 2015-06-08 02:18:14 -04:00
parent 4401b2bd34
commit b35b35feeb

View file

@ -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))))