added support for the Groovy programming language

This commit is contained in:
Bozhidar Batsov 2011-12-21 15:25:26 +02:00
parent 7dc48bdb61
commit 0530c9a833
3 changed files with 8 additions and 1 deletions

View file

@ -76,6 +76,7 @@ by Prelude.")
(require 'prelude-common-lisp)
(require 'prelude-emacs-lisp)
(require 'prelude-erc)
(require 'prelude-groovy)
(require 'prelude-haskell)
(require 'prelude-js)
(require 'prelude-latex)

View file

@ -0,0 +1,6 @@
;;; 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)

View file

@ -44,7 +44,7 @@
(message "%s" " done.")
(defvar prelude-packages
'(auctex clojure-mode coffee-mode deft gist haml-mode
'(auctex clojure-mode coffee-mode deft gist groovy-mode haml-mode
haskell-mode inf-ruby markdown-mode paredit projectile
python sass-mode scss-mode solarized-theme yaml-mode yari zenburn-theme)
"A list of packages to ensure are installed at launch.")