   "Initialize support for `find-file-at-point' support."
   (add-hook 'ff-pre-find-hook 'zomp-ff-pre-find-hook)
   (make-variable-buffer-local 'ff-special-constructs)
-  (setq ff-special-constructs zomp-ff-special-constructs))
+  (setq ff-special-constructs zomp-ff-special-constructs)
+  (add-to-list 'ffap-alist '(zomp-mode . zomp-ffap)))
 
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 ;; editing


TODO: check if this will work with source files that are not inside the compiler
source repository."
  (format "../libs/%s.zomp" zomp-symbol-at-point-before-ff))

(defcustom zomp-ff-special-constructs
  '(("^requireLibs? " . zomp-ff-extract-lib))

  "List of supported build variants."
  :group 'zomp
  :type '(repeat string))

(defcustom zomp-lib-path (list "../libs")
  "List of directories where to search for Zomp libraries."
  :group 'zomp
  :type '(repeat directory))

(defface zomp-highlight-after-eval-face
  '((t (:inherit highlight)))
