(require 'init-clojure)
(require-package 'emacs '(24))

(require-package 'cider)
(require-package 'ac-cider)

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; nrepl with Clojure
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

(setq nrepl-popup-stacktraces nil)

(after-load 'cider
  (add-hook 'cider-repl-mode-hook 'ac-cider-setup)
  (add-hook 'cider-mode-hook 'ac-cider-setup)
  (after-load 'auto-complete
    (add-to-list 'ac-modes 'cider-repl-mode))

  (add-hook 'cider-repl-mode-hook 'set-auto-complete-as-completion-at-point-function)
  (add-hook 'cider-mode-hook 'set-auto-complete-as-completion-at-point-function)
  (add-hook 'cider-mode-hook 'cider-turn-on-eldoc-mode)
  (add-hook 'cider-repl-mode-hook 'subword-mode)
  (add-hook 'cider-repl-mode-hook 'paredit-mode)
  (define-key cider-mode-map (kbd "C-c C-d") 'ac-nrepl-popup-doc)

  ;; nrepl isn't based on comint
  (add-hook 'cider-repl-mode-hook
            (lambda () (setq show-trailing-whitespace nil))))


(provide 'init-clojure-cider)

(require 'init-clojure)
(require-package 'emacs '(24))

(require-package 'cider)
(require-package 'ac-cider)

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; nrepl with Clojure
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

(setq nrepl-popup-stacktraces nil)

(after-load 'cider
  (add-hook 'cider-repl-mode-hook 'ac-cider-setup)
  (add-hook 'cider-mode-hook 'ac-cider-setup)
  (after-load 'auto-complete
    (add-to-list 'ac-modes 'cider-repl-mode))

  (add-hook 'cider-repl-mode-hook 'set-auto-complete-as-completion-at-point-function)
  (add-hook 'cider-mode-hook 'set-auto-complete-as-completion-at-point-function)
  (add-hook 'cider-mode-hook 'cider-turn-on-eldoc-mode)
  (add-hook 'cider-repl-mode-hook 'subword-mode)
  (add-hook 'cider-repl-mode-hook 'paredit-mode)
  (define-key cider-mode-map (kbd "C-c C-d") 'ac-cider-popup-doc)

  ;; nrepl isn't based on comint
  (add-hook 'cider-repl-mode-hook
            (lambda () (setq show-trailing-whitespace nil))))


(provide 'init-clojure-cider)

Fix trailing reference to ac-nrepl
Fix trailing reference to ac-nrepl

LKI/emacs.d,shafayetkhan/emacs.d,dhanunjaya/emacs.d,modkzs/emcs.d,kongfy/emacs.d,benkha/emacs.d,mpwang/emacs.d,farzadbekran/emacs.d,46do14/emacs.d,jachinpy/emacs.d,Werewolflsp/emacs.d,zenith-john/emacs.d,DarkThrone/emacs.d,blueseason/emacs.d,ilove0518/emacs.d,jthetzel/emacs.d,whizzzkid/emacs.d,svenyurgensson/emacs.d,lujianmei/emacs.d,ernest-dzf/emacs.d,exclamaforte/emacs.d,farzadbekran/emacs.d,mmqmzk/emacs.d,wenpincui/emacs.d,jkaessens/emacs.d,cjqw/emacs.d,hkcqr/emacs.d,roxolan/emacs.d,atreeyang/emacs.d,me020523/emacs.d,Togal/emacs.d,qianwan/emacs.d,zhuoyikang/emacs.d,farzadbekran/emacs.d,hophacker/emacs.d,scorpionis/emacs.d,purcell/emacs.d,farzadbekran/emacs.d,emuio/emacs.d,jhpx/emacs.d,ruiyang/emacs.d,kindoblue/emacs.d,jachinpy/emacs.d,zhaotai/.emacs.d,wegatron/emacs.d,cyjia/emacs.d,blueabysm/emacs.d,dongdonghu/.emacs.d,gsmlg/emacs.d,baohaojun/emacs.d,ruiyang/emacs.d,arthurl/emacs.d,fengxl/emacs.d,Jadecity/PurcellEmacs.d,lust4life/emacs.d,haodaivshen/emacs.d,LittleLmp/emacs.d,krzysz00/emacs.d,pairyo/emacs.d,farzadbekran/emacs.d,Enzo-Liu/emacs.d,dcorking/emacs.d,caoyuanqi/emacs.d,boblannon/emacs.d,qinshulei/emacs.d,lromang/emacs.d,alant/emacs.d,sgarciac/emacs.d,danfengcao/emacs.d,carlosliu/emacs.d,Guoozz/emacs.d,Shanicky/emacs.d,braveoyster/emacs.d,renatoriccio/emacs.d,bibaijin/emacs.d