Open .jbuilder files in ruby-mode

This commit is contained in:
Bozhidar Batsov 2013-03-15 16:06:06 +02:00
parent 02b3f27e65
commit a95b60eda6

View file

@ -46,6 +46,7 @@
(add-to-list 'auto-mode-alist '("\\.thor\\'" . ruby-mode)) (add-to-list 'auto-mode-alist '("\\.thor\\'" . ruby-mode))
(add-to-list 'auto-mode-alist '("Thorfile\\'" . ruby-mode)) (add-to-list 'auto-mode-alist '("Thorfile\\'" . ruby-mode))
(add-to-list 'auto-mode-alist '("Vagrantfile\\'" . ruby-mode)) (add-to-list 'auto-mode-alist '("Vagrantfile\\'" . ruby-mode))
(add-to-list 'auto-mode-alist '("\\.jbuilder\\'" . ruby-mode))
;; We never want to edit Rubinius bytecode ;; We never want to edit Rubinius bytecode
(add-to-list 'completion-ignored-extensions ".rbc") (add-to-list 'completion-ignored-extensions ".rbc")