summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2015-04-27 16:04:17 +0200
committerGravatar Tom Willemse2015-04-27 16:04:17 +0200
commit779787d56cd8c7795fe9765f2de5bd49070cc34a (patch)
treebf559e4176e855ef3453b5a7db66934941eefb15
parent6980dd5c32b30b6b367d6167281ee032bcdc75ae (diff)
downloaddotfiles-779787d56cd8c7795fe9765f2de5bd49070cc34a.tar.gz
dotfiles-779787d56cd8c7795fe9765f2de5bd49070cc34a.zip
Set the fci rule column for ruby mode
-rw-r--r--emacs/.emacs.d/init.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el
index c923a46..07933cd 100644
--- a/emacs/.emacs.d/init.el
+++ b/emacs/.emacs.d/init.el
@@ -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