   :config
   (use-package all-the-icons-dired
     :defer t
-    :diminish all-the-icons-dired-mode
     :init
     (add-hook 'dired-mode-hook 'all-the-icons-dired-mode)
     :config

  )

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

  )

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