                web-mode
                clojure-mode
                cider
-               company
                clj-refactor
                rainbow-delimiters
                smart-mode-line))
 
+(package-initialize)
+
+(require 'use-package)
 
 (custom-set-variables
  ;; custom-set-variables was added by Custom.

(add-hook 'cider-mode-hook #'eldoc-mode)
(setq nrepl-hide-special-buffers t)

; company
(add-hook 'after-init-hook 'global-company-mode)
(customize-set-variable 'company-idle-delay 0.1)
(customize-set-variable 'company-minimum-prefix-length 1)

; clj-refactor
(require 'clj-refactor)

             '(font . "Source Code Pro-11"))

(require 'package)
(customize-set-variable 'package-enable-at-startup nil)
(package-initialize t)

(add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/"))
(add-to-list 'package-archives '("org" . "http://orgmode.org/elpa/") t)

(if (not (package-installed-p 'use-package))
    (progn
      (package-refresh-contents)
      (package-install 'use-package)))

(require 'cl-lib)
(defun my-packages (packages)
