summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2016-04-04 11:49:57 +0200
committerGravatar Tom Willemse2016-04-04 11:49:57 +0200
commit26a683095662df0a2e7ca2f2c7edf4ef3c5ff0ce (patch)
tree94ad3facf0ba0f2d86f1be1da1e46228a1b7c676
parent04d02624b6d4dc637f64c4998b14372bf2d874c2 (diff)
downloaddotfiles-26a683095662df0a2e7ca2f2c7edf4ef3c5ff0ce.tar.gz
dotfiles-26a683095662df0a2e7ca2f2c7edf4ef3c5ff0ce.zip
Turn on abbrev-mode in Ruby buffers
-rw-r--r--emacs/.emacs.d/init.org8
1 files changed, 8 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org
index 32bcd97..f368073 100644
--- a/emacs/.emacs.d/init.org
+++ b/emacs/.emacs.d/init.org
@@ -1325,6 +1325,14 @@
(add-hook 'twig-mode-hook (turn-off auto-fill-mode))
#+END_SRC
+** Ruby
+
+ Turn on =abbrev-mode= in Ruby buffers.
+
+ #+BEGIN_SRC emacs-lisp
+ (add-hook 'ruby-mode-hook 'abbrev-mode)
+ #+END_SRC
+
* Minor mode customization
Many minor modes also offer a bit of customization possibilities.