From e6473023032c85ca46ff00aaad3f171cec540ad5 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Sun, 31 Jan 2016 19:30:01 +0000 Subject: [PATCH] Update ruby-mode settings --- modules/siren-ruby.el | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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)