From 46d307ed8bb790f35d5944ac4b93e1f77e1fc2f6 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 26 Sep 2013 13:50:27 +0100 Subject: Emacs: Setup file associations for ruby mode --- emacs/init.el | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit 1.4.1