summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--emacs.d/init.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs.d/init.el b/emacs.d/init.el
index 2be2e96..652ab5f 100644
--- a/emacs.d/init.el
+++ b/emacs.d/init.el
@@ -276,7 +276,7 @@
                  ("puppet" (mode . puppet-mode))
                  ("python" (mode . python-mode))
                  ("repl"   (name . "repl"))
-                 ("ruby"   (name . "^\\.rb$"))
+                 ("ruby"   (mode . ruby-mode))
                  ("sh"     (mode . sh-mode))
                  ("text"   (mode . text-mode))))))