Set the fci rule column for ruby mode
This commit is contained in:
parent
6980dd5c32
commit
779787d56c
1 changed files with 1 additions and 0 deletions
|
@ -1302,6 +1302,7 @@ from myaethon2.core.decorators import (
|
||||||
(add-hook 'write-file-hooks 'oni:write-file-func)
|
(add-hook 'write-file-hooks 'oni:write-file-func)
|
||||||
(add-hook 'yas-global-mode-hook 'oni:yas-minor-mode-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 '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
|
(oni:add-function-to-hooks #'flycheck-mode
|
||||||
'perl-mode-hook 'rst-mode-hook 'rust-mode-hook 'sh-mode-hook
|
'perl-mode-hook 'rst-mode-hook 'rust-mode-hook 'sh-mode-hook
|
||||||
|
|
Loading…
Reference in a new issue