   (:map clojure-mode-map
    ([f8] . cider-jack-in-clj))
   :config
-  (add-hook 'clojure-mode-hook #'paredit-mode)
-  (add-hook 'clojure-mode-hook #'subword-mode)
-  (add-hook 'clojure-mode-hook #'clj-refactor-mode)
-  (add-hook 'clojure-mode-hook #'yas-minor-mode)
   (define-clojure-indent
     (against-background 'defun)
     (alet 'defun)

    (request-context 'defun)
    (tabular 'defun)
    (tabular-flow 'defun)
    (verify 'defun)))

(use-package company
  :ensure t
  :config
  (setq company-minimum-prefix-length 2
        company-idle-delay 0.3)
  (global-company-mode 1))

(use-package company-go
  :after (go-mode)
  :ensure t
  :config
  (add-to-list 'company-backends 'company-go))

  (:map cider-mode-map
   ([f9] . cider-show-repl-buffer))
  :config
  (setq cider-prompt-for-symbol nil)
  (setq cider-repl-pop-to-buffer-on-connect 'display-only)
  :hook
  ((cider-mode . eldoc-mode)
   (cider-repl-mode . paredit-mode)))

(use-package clj-refactor
  :ensure t
