diff options
author | Bozhidar Batsov <bozhidar@tradeo.com> | 2014-12-09 19:05:13 +0200 |
---|---|---|
committer | Bozhidar Batsov <bozhidar@tradeo.com> | 2014-12-09 19:05:13 +0200 |
commit | fda355b5bd8330762cb7894fc038492c6c9720a1 (patch) | |
tree | 5a368bc29ac4f30815284daef29bec967b547ed0 /lisp/progmodes | |
parent | baab20d73e2a3ee6a06dc83fe97d0b781870e29f (diff) | |
download | emacs-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.el | 3 |
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)) |