summaryrefslogtreecommitdiffstats
path: root/emacs
diff options
context:
space:
mode:
authorGravatar Tom Willemse2015-07-26 22:03:24 +0200
committerGravatar Tom Willemse2015-07-26 22:03:24 +0200
commit8adbbed6c58d1ceb34b5bda41fe97177bb89661f (patch)
treea3b99770d5c4108b4b2d71f05594ff872dbd0fbb /emacs
parenta31e989a288f33a5d6767605d63c052e62707f32 (diff)
downloaddotfiles-8adbbed6c58d1ceb34b5bda41fe97177bb89661f.tar.gz
dotfiles-8adbbed6c58d1ceb34b5bda41fe97177bb89661f.zip
Add some minor modes for Ruby
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/init.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el
index 198000a..dad3ef7 100644
--- a/emacs/.emacs.d/init.el
+++ b/emacs/.emacs.d/init.el
@@ -1257,6 +1257,12 @@ from myaethon2.core.decorators import (
(add-hook 'yas-global-mode-hook 'oni:yas-minor-mode-func)
(add-hook 'ert-results-mode-hook (lambda () (setq truncate-lines nil)))
(add-hook 'ruby-mode-hook (lambda () (setq-local fci-rule-column 80)))
+(add-hook 'projectile-mode-hook 'projectile-rails-on)
+(add-hook 'ruby-mode-hook 'yard-mode)
+(add-hook 'ruby-mode-hook 'eldoc-mode)
+(add-hook 'ruby-mode-hook 'ruby-tools-mode)
+(add-hook 'ruby-mode-hook 'ruby-refactor-mode-launch)
+(add-hook 'ruby-mode-hook 'robe-mode)
(add-hook 'projectile-switch-project-hook #'oni:select-corresponding-ruby)
(oni:add-function-to-hooks #'oni:make-readable