summaryrefslogtreecommitdiff
path: root/lisp/progmodes
diff options
context:
space:
mode:
authorBozhidar Batsov <bozhidar@tradeo.com>2014-12-09 19:05:13 +0200
committerBozhidar Batsov <bozhidar@tradeo.com>2014-12-09 19:05:13 +0200
commitfda355b5bd8330762cb7894fc038492c6c9720a1 (patch)
tree5a368bc29ac4f30815284daef29bec967b547ed0 /lisp/progmodes
parentbaab20d73e2a3ee6a06dc83fe97d0b781870e29f (diff)
downloademacs-fda355b5bd8330762cb7894fc038492c6c9720a1.tar.gz
Associate more files with ruby-mode
* progmodes/ruby-mode.el (auto-mode-alist): Add .rabl, Berksfile and Puppetfile.
Diffstat (limited to 'lisp/progmodes')
-rw-r--r--lisp/progmodes/ruby-mode.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/progmodes/ruby-mode.el b/lisp/progmodes/ruby-mode.el
index 2f23e338f81..803bf579da3 100644
--- a/lisp/progmodes/ruby-mode.el
+++ b/lisp/progmodes/ruby-mode.el
@@ -2206,9 +2206,10 @@ See `font-lock-syntax-table'.")
(add-to-list 'auto-mode-alist
(cons (purecopy (concat "\\(?:\\."
"rb\\|ru\\|rake\\|thor"
- "\\|jbuilder\\|gemspec\\|podspec"
+ "\\|jbuilder\\|rabl\\|gemspec\\|podspec"
"\\|/"
"\\(?:Gem\\|Rake\\|Cap\\|Thor"
+ "\\|Puppet\\|Berks"
"\\|Vagrant\\|Guard\\|Pod\\)file"
"\\)\\'")) 'ruby-mode))