     clj-refactor
     ac-cider
     align-cljlet
+    rainbow-delimiters
+    subword
    )
   "List of all packages to install and/or initialize. Built-in packages
 which require an initialization must be listed explicitly in the list.")

           ("\.edn$"      . clojure-mode)
           ("\.boot$"     . clojure-mode)
           ("\.cljs\.hl$" . clojure-mode))
    :init
    (progn
      (add-to-hook 'clojure-mode-hook '(clojure/general-mode)))
    :config
    (progn
      (when clojure-enable-fancify-symbols

          "mr-tl" 'cljr-thread-last-all
          "mr-ua" 'cljr-unwind-all
          "mr-uw" 'cljr-unwind))))

(defun clojure/init-rainbow-delimiters ()
  (if configuration-layer/package-declaredp 'cider
    (add-hook 'cider-mode-hook 'rainbow-delimiters-mode)))

(defun clojure/init-subword ()
  (unless (version< emacs-version "24.4")
    (add-hook 'cider-mode-hook 'subword-mode)))
