Add some minor modes for Ruby
This commit is contained in:
parent
a31e989a28
commit
8adbbed6c5
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue