diff --git a/modules/siren-ruby.el b/modules/siren-ruby.el index 01c61f8..80429d2 100644 --- a/modules/siren-ruby.el +++ b/modules/siren-ruby.el @@ -51,6 +51,12 @@ '(progn (defun siren-ruby-mode-defaults () (siren-prog-mode-defaults) + + (setq ruby-use-smie t) + (setq ruby-align-chained-calls t) + (setq ruby-insert-encoding-magic-comment t) + (setq c-tab-always-indent nil) + (ruby-tools-mode +1) (setq tab-width 2) (hs-minor-mode 1) @@ -59,12 +65,6 @@ (highlight-indentation-mode) (highlight-indentation-current-column-mode) - (setq ruby-use-smie t) - (setq ruby-align-chained-calls t) - (setq ruby-insert-encoding-magic-comment t) - - (setq c-tab-always-indent nil) - (setq ruby-use-encoding-map nil) (let ((map ruby-mode-map)) (define-key map (kbd "C-j") 'newline-and-indent) (define-key map (kbd "RET") 'newline-and-indent)