From: Stefan Bund Date: Tue, 6 Dec 2016 08:43:00 +0000 (+0100) Subject: add groovy (Jenkins) mode X-Git-Url: http://g0dil.de/git?a=commitdiff_plain;h=37e6dc909ad1a4733981637029f78c9902e84160;p=emacs-init.git add groovy (Jenkins) mode --- diff --git a/.gitmodules b/.gitmodules index 081bfb3..b41794e 100644 --- a/.gitmodules +++ b/.gitmodules @@ -21,3 +21,6 @@ url = git://g0dil.de/emacsstuff.git [submodule "org-mode"] path = org-mode url = git://orgmode.org/org-mode.git +[submodule "groovy-emacs-modes"] + path = groovy-emacs-modes + url = https://github.com/Groovy-Emacs-Modes/groovy-emacs-modes.git diff --git a/groovy-emacs-modes b/groovy-emacs-modes new file mode 160000 index 0000000..9d42f28 --- /dev/null +++ b/groovy-emacs-modes @@ -0,0 +1 @@ +Subproject commit 9d42f284b3163215484e16bef1785456d2e7b68d diff --git a/setup/groovy.el b/setup/groovy.el new file mode 100644 index 0000000..d916507 --- /dev/null +++ b/setup/groovy.el @@ -0,0 +1,9 @@ +(add-to-list 'load-path (concat (file-name-directory + (directory-file-name + (file-name-directory + (or load-file-name + (when (boundp 'bytecomp-filename) bytecomp-filename) + buffer-file-name)))) + "groovy-emacs-modes")) +(require 'groovy-mode) +(add-to-list 'interpreter-mode-alist '("groovy" . groovy-mode)) \ No newline at end of file