about summary refs log tree commit diff
path: root/init-modes.el
diff options
context:
space:
mode:
Diffstat (limited to 'init-modes.el')
-rw-r--r--init-modes.el8
1 files changed, 6 insertions, 2 deletions
diff --git a/init-modes.el b/init-modes.el
index 0f28b48d176f..f1a9a37174a6 100644
--- a/init-modes.el
+++ b/init-modes.el
@@ -1,4 +1,4 @@
-(mapc 'require '(projectile ac-nrepl cider project-explorer))
+(mapc 'require '(projectile ac-cider-compliment cider))
 ;; Initializes modes I use.
 
 (add-hook 'prog-mode-hook 'esk-add-watchwords)
@@ -23,9 +23,13 @@
 
 (defun cider-mode-setup ()
   "Activates paredit, rainbow delimiters and ac-nrepl"
-  (ac-nrepl-setup)
+  (ac-cider-compliment-setup)
+  (ac-flyspell-workaround)
   (paredit-mode))
 
+(eval-after-load "auto-complete"
+  '(add-to-list 'ac-modes cider-mode))
+
 (add-hook 'cider-repl-mode-hook 'cider-mode-setup)
 (add-hook 'cider-interaction-mode-hook 'cider-mode-setup)
 (eval-after-load "auto-complete"