summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2013-09-26 13:50:27 +0100
committerAlan Pearce2013-09-26 13:50:27 +0100
commit46d307ed8bb790f35d5944ac4b93e1f77e1fc2f6 (patch)
tree54cc22a5735a8768bf5cd5594e90255f6926546a
parent6f9adfef6febe5450550f845019b6522c530bb29 (diff)
downloadnixfiles-46d307ed8bb790f35d5944ac4b93e1f77e1fc2f6.tar.lz
nixfiles-46d307ed8bb790f35d5944ac4b93e1f77e1fc2f6.tar.zst
nixfiles-46d307ed8bb790f35d5944ac4b93e1f77e1fc2f6.zip
Emacs: Setup file associations for ruby mode
-rw-r--r--emacs/init.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/emacs/init.el b/emacs/init.el
index d9ce462e..19296aa8 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -615,6 +615,10 @@ Values: `desktop', `server', `laptop'")
   :config (progn
             (add-hook 'puppet-mode-hook #'autopair-mode)))
 
+(use-package ruby-mode
+  :mode (("\\.rb\\'" . ruby-mode)
+         ("\\.cap\\'" . ruby-mode)))
+
 ;;;; Planning
 
 (use-package org