From 779787d56cd8c7795fe9765f2de5bd49070cc34a Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Mon, 27 Apr 2015 16:04:17 +0200 Subject: [PATCH] Set the fci rule column for ruby mode --- emacs/.emacs.d/init.el | 1 + 1 file changed, 1 insertion(+) 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