Browse Source

Add groovy mode config

pull/15/head
10sr 8 years ago
parent
commit
43037c48e9
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      emacs.el

+ 5
- 0
emacs.el View File

@@ -18,6 +18,7 @@
(add-to-list 'load-path d))

(eval-when-compile
;; TODO: Use cl-lib intead
(require 'cl nil t))


@@ -1190,6 +1191,10 @@ IF OK-IF-ALREADY-EXISTS is true force download."
(setq auto-mode-alist (append '(("PKGBUILD\\'" . pkgbuild-mode))
auto-mode-alist)))

(and (autoload-eval-lazily 'groovy-mode)
(add-to-list 'auto-mode-alist
'("build.gradle\\'" . groovy-mode)))

(add-hook 'yaml-mode-hook
(lambda ()
(local-set-key(kbd "C-m") 'newline)))


Loading…
Cancel
Save