   (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

                                                                                                       ","))))
                                                              ", "))
                                                (_ (meain/go-default-returns return-node-text errformat)))))))))
  (aas-set-snippets 'text-mode
    ";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")))
    ";d/" (lambda () (interactive) (insert (format-time-string "%D")))
    ";time" (lambda () (interactive) (insert (format-time-string "%T")))
    ";filename" (lambda () (interactive) (insert (file-name-nondirectory (buffer-file-name)))))
  (aas-set-snippets 'mtodo-mode
    ";date" (lambda () (interactive) (insert (format-time-string "%a %b %d %Y"))))
  (aas-set-snippets 'ledger-mode
    ";date" (lambda () (interactive) (insert (format-time-string "%Y-%m-%d"))))
  (aas-set-snippets 'prog-mode
    ";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")))

;; auto activating snippets
(use-package aas
  :straight t
  :defer 3
  :config
  (defun meain/go-default-returns (type errformat)
    "Making it a function instead of an alist so that we can handle unknown TYPE."
