   (if-let* ((major-mode (if (eq major-mode 'snippet-mode)
                             (intern (file-name-base (directory-file-name default-directory)))
                           major-mode))
-            (template (yas--get-template-by-uuid major-mode template-uuid))
+            (template (+snippet--get-template-by-uuid template-uuid major-mode))
             (template-path (yas--template-load-file template)))
       (if (file-in-directory-p template-path +snippets-dir)
           (find-file template-path)

    (if (y-or-n-p (format "%S doesn't exist. Create it?" (abbreviate-file-name dir)))
        (make-directory dir t)
      (error "%S doesn't exist" (abbreviate-file-name dir)))))

(defun +snippet--completing-read-uuid (prompt all-snippets &rest args)
  (plist-get

  (interactive
   (list
    (+snippet--completing-read-uuid "Visit snippet: " current-prefix-arg)))
  (if-let* ((template (+snippet--get-template-by-uuid template-uuid major-mode))
            (template-path (yas--template-load-file template)))
      (progn
        (unless (file-readable-p template-path)
