Set the fci rule column for ruby mode

This commit is contained in:
Tom Willemse 2015-04-27 16:04:17 +02:00
parent 6980dd5c32
commit 779787d56c

View file

@ -1302,6 +1302,7 @@ from myaethon2.core.decorators import (
(add-hook 'write-file-hooks 'oni:write-file-func)
(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)))
(oni:add-function-to-hooks #'flycheck-mode
'perl-mode-hook 'rst-mode-hook 'rust-mode-hook 'sh-mode-hook