   (package-refresh-contents)
   (package-install 'use-package))
 (require 'use-package)
+(setq use-package-always-ensure t)
 
 (use-package base16-theme
-  :ensure t
   :config
   (load-theme 'base16-twilight t)
 

  (define-key evil-normal-state-map (kbd "C-l") 'evil-window-right))

(use-package flycheck
  :ensure t
  :diminish flycheck-mode
  :config
  (global-flycheck-mode))

(use-package company
  :ensure t
  :diminish company-mode
  :config
  (setq company-idle-delay 0.1)

  (define-key company-active-map (kbd "C-p") 'company-select-previous)
  (global-company-mode)

  (use-package company-quickhelp))

(use-package eglot
  :config
  (setq eglot-autoreconnect 1))

(use-package powerline
  :config
  (powerline-default-theme))

(use-package rainbow-delimiters
  :diminish rainbow-delimiters-mode
  :config
  (rainbow-delimiters-mode 1))

(use-package autopair
  :diminish autopair-mode
  :config
  (autopair-global-mode))

(use-package avy
  :diminish avy-mode
  :config
  (evil-leader/set-key "jf" 'avy-goto-char))

(use-package helm
  :diminish helm-mode
  :config
  (helm-mode 1)
  (global-set-key (kbd "M-x") 'helm-M-x))

(use-package projectile
  :diminish projectile-mode
  :config
  (projectile-mode)
