 
  :candiate-do
  (lambda (candidate)
-   (find-file candidate)))
+  (let ((project-root (snails-backend-projectile--project-root)))
+   (find-file (expand-file-name candidate project-root)))))
 
 
 (provide 'snails-backend-projectile)


;;; Code:

(defun snails-backend-projectile-files ()
  "List project files."
  (let ((filename (buffer-file-name snails-start-buffer)))
    (when filename
      (let ((project-root (projectile-project-root (file-name-directory filename))))
        (when project-root
           (projectile-project-files project-root))))))


(snails-create-sync-backend

 :candidate-filter
 (lambda (input)
   (let ((candidates)
         (project-files (snails-backend-projectile--files)))
     (when project-files
       (dolist (file project-files)
         (when (or
