Skip to content

Commit

Permalink
Small changes to ruby-env
Browse files Browse the repository at this point in the history
  • Loading branch information
jwreagor committed May 30, 2016
1 parent 08a05fc commit 27c1f83
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions common/ruby-env.el
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,19 @@
(autoload 'inf-ruby "inf-ruby" "" t)
(autoload 'inf-ruby-setup-keybindings "inf-ruby" "" t)

(setq ruby-file-types ["\\.rb$"
"\\.rake$"
"\\.cap$"
"\\.gemspec$"
"\\(Cap\\|Gem\\|Rake\\|Guard\\|Thor\\|Berks\\|Brew\\|Chef\\)file"])
;; (setq ruby-file-types ["\\.rb$"
;; "\\.rake$"
;; "\\.cap$"
;; "\\.gemspec$"
;; "\\(Cap\\|Gem\\|Rake\\|Guard\\|Thor\\|Berks\\|Brew\\|Chef\\)file"])

(mapcar (lambda (str)
(add-to-list 'auto-mode-alist `(,str . enh-ruby-mode)))
ruby-file-types)
["\\.rb$"
"\\.rake$"
"\\.cap$"
"\\.gemspec$"
"\\(Cap\\|Gem\\|Rake\\|Guard\\|Thor\\|Berks\\|Brew\\|Chef\\)file"])

;;;;
;; enh-ruby-mode & rspec-mode configuration and hooks
Expand Down

0 comments on commit 27c1f83

Please sign in to comment.