added support for the Groovy programming language
This commit is contained in:
parent
7dc48bdb61
commit
0530c9a833
3 changed files with 8 additions and 1 deletions
1
init.el
1
init.el
|
@ -76,6 +76,7 @@ by Prelude.")
|
||||||
(require 'prelude-common-lisp)
|
(require 'prelude-common-lisp)
|
||||||
(require 'prelude-emacs-lisp)
|
(require 'prelude-emacs-lisp)
|
||||||
(require 'prelude-erc)
|
(require 'prelude-erc)
|
||||||
|
(require 'prelude-groovy)
|
||||||
(require 'prelude-haskell)
|
(require 'prelude-haskell)
|
||||||
(require 'prelude-js)
|
(require 'prelude-js)
|
||||||
(require 'prelude-latex)
|
(require 'prelude-latex)
|
||||||
|
|
6
modules/prelude-groovy.el
Normal file
6
modules/prelude-groovy.el
Normal 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)
|
|
@ -44,7 +44,7 @@
|
||||||
(message "%s" " done.")
|
(message "%s" " done.")
|
||||||
|
|
||||||
(defvar prelude-packages
|
(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
|
haskell-mode inf-ruby markdown-mode paredit projectile
|
||||||
python sass-mode scss-mode solarized-theme yaml-mode yari zenburn-theme)
|
python sass-mode scss-mode solarized-theme yaml-mode yari zenburn-theme)
|
||||||
"A list of packages to ensure are installed at launch.")
|
"A list of packages to ensure are installed at launch.")
|
||||||
|
|
Loading…
Reference in a new issue