ruby: use :toggle and fix location or ruby-mode

This commit is contained in:
syl20bnr 2016-03-27 15:52:43 -04:00
parent d37c38053e
commit bf9f281269
1 changed files with 2 additions and 3 deletions

View File

@ -14,6 +14,7 @@
bundler
chruby
company
(enh-ruby-mode :toggle ruby-enable-enh-ruby-mode)
evil-matchit
flycheck
popwin
@ -21,15 +22,13 @@
robe
rspec-mode
rubocop
(ruby-mode :location built-in :toggle (not ruby-enable-enh-ruby-mode))
ruby-test-mode
ruby-tools
rvm
smartparens
rake
))
(if ruby-enable-enh-ruby-mode
(add-to-list 'ruby-packages 'enh-ruby-mode)
(add-to-list 'ruby-packages 'ruby-mode))
(defun ruby/init-bundler ()
(use-package bundler