Permalink
Browse files

activate auto-complete mode on groovy-mode and grails-mode

  • Loading branch information...
1 parent 3a8fe35 commit 45af1c1f2fe0ee53e9533caf9b9e306838567a2c @takuma510 committed Oct 5, 2012
Showing with 5 additions and 1 deletion.
  1. +5 −1 emacs.d/inits/20_groovy.el
@@ -14,4 +14,8 @@
(add-hook 'groovy-mode-hook
'(lambda ()
(require 'groovy-electric)
- (groovy-electric-mode)))
+ (groovy-electric-mode)))
+
+;;; activate auto-complete mode
+(setq ac-modes (append ac-modes '(groovy-mode)))
+(setq ac-modes (append ac-modes '(grails-mode)))

0 comments on commit 45af1c1

Please sign in to comment.