Permalink
Browse files

Add support for auto-complete

  • Loading branch information...
1 parent c3946f8 commit a114e0a177202616283927c0f1c16ee4f5432d50 @candera committed Dec 6, 2012
Showing with 28 additions and 2 deletions.
  1. +3 −0 .gitmodules
  2. +1 −1 auto-complete
  3. +23 −1 init.el
  4. +1 −0 popup-el
View
3 .gitmodules
@@ -49,3 +49,6 @@
[submodule "midje-mode"]
path = midje-mode
url = https://github.com/dnaumov/midje-mode.git
+[submodule "popup-el"]
+ path = popup-el
+ url = https://github.com/auto-complete/popup-el.git
2 auto-complete
@@ -1 +1 @@
-Subproject commit 5e7e67aca82e70c0d44cc2dd783a9922dc99e380
+Subproject commit ddac826e3ff401d23289f20afed8375a54ff5652
View
24 init.el
@@ -1036,6 +1036,28 @@ if the major mode is one of 'delete-trailing-whitespace-modes'"
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
+;; popup.el
+;; https://github.com/auto-complete/popup-el.git
+;;
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+(add-to-list 'load-path "~/.emacs.d/custom/popup-el")
+(require 'popup)
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;;
+;; auto-complete-mode
+;; https://github.com/auto-complete/auto-complete
+;;
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+(add-to-list 'load-path "~/.emacs.d/custom/auto-complete")
+(require 'auto-complete-config)
+(add-to-list 'ac-dictionary-directories "~/.emacs.d.custom/auto-complete/dict")
+(ac-config-default)
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;;
;; Miscellaneous customizations
;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
@@ -1046,7 +1068,7 @@ if the major mode is one of 'delete-trailing-whitespace-modes'"
(load "~/.emacs.d/custom/colors.el")
(add-to-list 'auto-mode-alist '("\\.az$" . java-mode))
-(add-to-list 'auto-mode-alist '("\\.asc$" . javascript-mode))
+(add-to-list 'auto-mode-alist '("\\.asc$" . javascript-mode)))
(add-to-list 'auto-mode-alist '("\\.scss$" . css-mode))
1 popup-el
@@ -0,0 +1 @@
+Subproject commit d655fd293399a8fbbd18da4db5a98b89dc3db888

0 comments on commit a114e0a

Please sign in to comment.