   (aas-set-snippets 'org-mode
     ";el" "#+BEGIN_SRC emacs-lisp\n\n#+END_SRC"
     ";py" "#+BEGIN_SRC python\n\n#+END_SRC"
-    ";co" "#+BEGIN_SRC\n\n#+END_SRC"))
+    ";co" "#+BEGIN_SRC\n\n#+END_SRC")
+  (aas-global-mode))
 
 ;; flyspell
 (use-package flyspell

;; auto activating snippets
(use-package aas
  :straight t
  :commands (ass-activate-for-major-mode)
  :hook (text-mode . ass-activate-for-major-mode)
  :hook (mtodo-mode . ass-activate-for-major-mode)
  :hook (ledger-mode . ass-activate-for-major-mode)
  :hook (org-mode . ass-activate-for-major-mode)
  :hook (prog-mode . ass-activate-for-major-mode)
  :hook (python-mode . ass-activate-for-major-mode)
  :hook (sql-mode . ass-activate-for-major-mode)
  :config
  (defun meain/go-default-returns (type errformat)
    "Making it a function instead of an alist so that we can handle unknown TYPE."

                                                                                                       ","))))
                                                              ", "))
                                                (_ (meain/go-default-returns return-node-text errformat)))))))))
  (aas-set-snippets 'global
    ";--" "—"
    ";->" "→"
    ";isodate" (lambda () (interactive) (insert (format-time-string "%a, %d %b %Y %T %z")))
    ";date" (lambda () (interactive) (insert (format-time-string "%a %b %d %Y")))
    ";sdate" (lambda () (interactive) (insert (format-time-string "%d %b %Y")))
