;;; use groovy-mode when file ends in .groovy or has #!/bin/groovy at start

(autoload 'groovy-mode "groovy-mode" "Major mode for editing Groovy code." t)
(add-to-list 'auto-mode-alist '("\.groovy$" . groovy-mode))
(add-to-list 'interpreter-mode-alist '("groovy" . groovy-mode))

(provide 'prelude-groovy)
