                                                   (return-node-text (tsc-node-text return-node)))
                                               (pcase return-node-type
                                                 ('parameter_list
-                                                 (string-join (remove-if (lambda (x) (equal nil x))
+                                                 (string-join (remove-if #'null
                                                                          (mapcar (lambda (x) (meain/go-default-returns x errformat))
                                                                                  (mapcar 'string-trim
                                                                                          ;; TODO: maybe use ts to find actual type nodes

;; 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."
    (pcase type

  (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"))

;; flyspell
(use-package flyspell
