 (add-hook 'shell-script-mode-hook 'fillcode-mode)
 (add-hook 'sql-mode-hook 'fillcode-mode)
 
+(add-hook 'cider-mode-hook #'eldoc-mode)
+(setq cider-auto-mode nil
+      nrepl-log-messages nil
+      nrepl-hide-special-buffers t
+      cider-repl-use-pretty-printing t
+      cider-prompt-save-file-on-load nil)
+
 (elpy-enable)
 (when (or (equal system-type 'darwin) (kelly?))
   (setq elpy-modules (delete 'elpy-module-flymake elpy-modules)))
 ;; ...nepodarilo se mi zatim zprovoznit
 
-(add-hook 'pixie-mode-hook #'inf-clojure-minor-mode)
+;; (add-hook 'pixie-mode-hook #'inf-clojure-minor-mode)
 (require 'expand-region)
 
 (require 'rainbow-mode)

                      rainbow-mode
                      flatui-theme
                      json-mode
                      anzu
                      undo-tree
                      racket-mode
                      processing-mode
                      csharp-mode
                      diminish
                      fillcode
                      glsl-mode))

(dolist (p df/packages)
  (when (not (package-installed-p p))
    (package-install p)))

(require 'diminish)
(after 'anzu (diminish 'anzu-mode))
(after 'undo-tree (diminish 'undo-tree-mode " ψ"))
(after 'rainbow-mode (diminish 'rainbow-mode))
(after 'abbrev (diminish 'abbrev-mode))
(after 'whitespace (diminish 'whitespace-mode " ⌴"))

(require 'whitespace)
(setq whitespace-line-column 100)             ;; limit line length

                                    '(("\\<\\(FIXME\\|TODO\\):" 1 font-lock-preprocessor-face prepend)))))

(require 'imenu-anywhere)

(require 'undo-tree)
(global-undo-tree-mode 1)           ;; C-x u
