ruby: use :toggle and fix location or ruby-mode
This commit is contained in:
parent
d37c38053e
commit
bf9f281269
1 changed files with 2 additions and 3 deletions
|
@ -14,6 +14,7 @@
|
||||||
bundler
|
bundler
|
||||||
chruby
|
chruby
|
||||||
company
|
company
|
||||||
|
(enh-ruby-mode :toggle ruby-enable-enh-ruby-mode)
|
||||||
evil-matchit
|
evil-matchit
|
||||||
flycheck
|
flycheck
|
||||||
popwin
|
popwin
|
||||||
|
@ -21,15 +22,13 @@
|
||||||
robe
|
robe
|
||||||
rspec-mode
|
rspec-mode
|
||||||
rubocop
|
rubocop
|
||||||
|
(ruby-mode :location built-in :toggle (not ruby-enable-enh-ruby-mode))
|
||||||
ruby-test-mode
|
ruby-test-mode
|
||||||
ruby-tools
|
ruby-tools
|
||||||
rvm
|
rvm
|
||||||
smartparens
|
smartparens
|
||||||
rake
|
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 ()
|
(defun ruby/init-bundler ()
|
||||||
(use-package bundler
|
(use-package bundler
|
||||||
|
|
Reference in a new issue