 
 (use-package flycheck
   :commands global-flycheck-mode
-  :init
+  :config
+  (global-flycheck-mode)
   (use-package flycheck-package
     :config
-    (flycheck-package-setup))
-  :config (global-flycheck-mode))
+    (flycheck-package-setup)))
 
 (use-package company
   :diminish company-mode
-  :init
-  (setq company-idle-delay 0)
-  (add-hook 'after-init-hook #'global-company-mode))
+  :config
+  (add-hook 'after-init-hook #'global-company-mode)
+  (setq company-idle-delay 0))
 
 (use-package yasnippet
   :diminish yas-minor-mode

(use-package desktop
  :config
  (add-to-list 'desktop-modes-not-to-save 'magit-mode)
  :init
  (desktop-save-mode 1))

(use-package uniquify

(add-hook 'after-save-hook #'my-maybe-make-executable)

(use-package fixme-mode
  :config
  (add-hook 'prog-mode-hook #'fixme-mode))

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

(use-package pretty-symbols)
