Navigation Menu

Skip to content

Commit

Permalink
rspec-mode hook for _behavior.rb files
Browse files Browse the repository at this point in the history
  • Loading branch information
Pat Maddox committed Jan 16, 2009
1 parent daa72f0 commit 764e8bf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rspec-mode.el
Expand Up @@ -6,6 +6,7 @@
(define-derived-mode rspec-mode ruby-mode "RSpec") (define-derived-mode rspec-mode ruby-mode "RSpec")


(add-to-list 'auto-mode-alist '("_spec.rb$" . rspec-mode)) (add-to-list 'auto-mode-alist '("_spec.rb$" . rspec-mode))
(add-to-list 'auto-mode-alist '("_behavior.rb$" . rspec-mode))
(if (functionp 'yas/load-directory) (if (functionp 'yas/load-directory)
(yas/load-directory (concat (file-name-directory load-file-name) "snippets"))) (yas/load-directory (concat (file-name-directory load-file-name) "snippets")))


Expand Down

0 comments on commit 764e8bf

Please sign in to comment.