 
 (use-package yasnippet
   :ensure t
-  :commands (yas-minor-mode-on yas-minor-mode)
+  :commands (yas-minor-mode-on yas-minor-mode yas-global-mode)
   :diminish yas-minor-mode
   :config (yas-reload-all))
 

    (add-hook 'prog-mode-hook 'electric-indent-local-mode))

  (add-hook 'text-mode-hook 'turn-on-auto-fill)
  (add-hook 'text-mode-hook 'yas-minor-mode-on)

  ;; Auto-Modes


                  minions-mode
                  which-key-mode
                  eyebrowse-mode
                  projectile-mode
                  yas-global-mode))
    (with-demoted-errors "Cannot activate mode: %s"
      (funcall mode +1)))

