summaryrefslogtreecommitdiffstats
path: root/emacs/.emacs.d/init.org
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/.emacs.d/init.org')
-rw-r--r--emacs/.emacs.d/init.org19
1 files changed, 18 insertions, 1 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org
index cd9e358..5e660c8 100644
--- a/emacs/.emacs.d/init.org
+++ b/emacs/.emacs.d/init.org
@@ -1064,9 +1064,26 @@
- Automatically match parentheses and other delimiters.
#+BEGIN_SRC emacs-lisp
- (add-hook 'enh-ruby-mode-hook #'oni:electric-pair-local-mode)
+ (add-hook 'ruby-mode-hook #'oni:electric-pair-local-mode)
#+END_SRC
+ - Enable flycheck
+
+ #+BEGIN_SRC emacs-lisp
+ (declare-function flycheck-mode "flycheck")
+
+ (add-hook 'ruby-mode-hook #'flycheck-mode)
+ #+END_SRC
+
+ - Align chained method calls
+
+ #+BEGIN_SRC emacs-lisp
+ (defvar ruby-align-chained-calls)
+
+ (setq ruby-align-chained-calls t)
+ #+END_SRC
+
+
** Coffee
- Autimatically match parentheses and other delimiters.