all repos — nixfiles @ 46d307ed8bb790f35d5944ac4b93e1f77e1fc2f6

System and user configuration, managed by nix and home-manager

Emacs: Setup file associations for ruby mode
Alan Pearce alan@alanpearce.co.uk
Thu, 26 Sep 2013 13:50:27 +0100
commit

46d307ed8bb790f35d5944ac4b93e1f77e1fc2f6

parent

6f9adfef6febe5450550f845019b6522c530bb29

1 files changed, 4 insertions(+), 0 deletions(-)

jump to
M emacs/init.elemacs/init.el
@@ -615,6 +615,10 @@ :mode (("\\.pp\\'" . puppet-mode))   :config (progn
             (add-hook 'puppet-mode-hook #'autopair-mode)))
 
+(use-package ruby-mode
+  :mode (("\\.rb\\'" . ruby-mode)
+         ("\\.cap\\'" . ruby-mode)))
+
 ;;;; Planning
 
 (use-package org